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

InstallPopup a panel but it not be displayed immediately

$
0
0
Hello, I'm using installpopup to popup an error panel on the main panel, but sometimes the popup panel can not be displayed, I click the task bar icon, then it would be displayed. The panel loading and popup code is here: Panel Loading: //Main panel loading if((pnlHndlGONOGO = LoadPanel(0, "TestExec.uir", PANEL_GNG)) < 0)         return -1; //Error panel loading if((pnlHndlError = LoadPanel(0,"TestExec.uir",PANEL_ERR)) < 0)         return -1; Panel popup: lTemp = SetBreakOnLibraryErrors(0); while(-43 == InstallPopup(pnlHndlError))     {         DelayWithEventProcessing(0.11);     } SetBreakOnLibraryErrors(lTemp); Does anyone knows what happened? Thanks.

Viewing all articles
Browse latest Browse all 5339

Trending Articles



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