hi,
i've a problem with Messagepopups. If i call a Messagepopup with "MessagePopup" or "GenericMessagePopup" from a separate Thread, and then minimize my main User Interface, i can't maximize my window!
I hope the following code-snippet figures my problem out:
status = 0;
CreateThread(0,0,(void*)(funktion1),0,0,0);
while(!status) {
//Here i'm minimizing my application, before i confirm the popup
Sleep(10);
ProcessSystemEvents();
}
void funktion1(void)
{
status = GenericMessagePopup("Titel","Nachricht","but1","but2",0,0,0, 0,VAL_GENERIC_POPUP_BTN1,VAL_GENERIC_POPUP_BTN1,VAL_GENERIC_POPUP_NO_CTRL);
return;
}
Does somebody have a Solution for this Problem?
P.S. I use Win 7 and CVI2012