Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5368

Main-Panel cannot be maximized, when minimized while a popup was open

$
0
0

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

 


Viewing all articles
Browse latest Browse all 5368


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>