install the Popup popup, by removing the last causes the two to go

I have a popup panel (I created manually in my .uir).  In this Panel, I ask a new popup panel (created manually in the code).  When I click ok on my second popup, its callback function called RemovePopup (2nd round of Panel), two windows pop up seems to go instead of just a 2nd and back to first.

Should it?  I know there is a way (at least in my program) to work around this problem, but I first wanted to consult with experienced people

As clearly stated in the function, the parameter passed to the detrermines function which popup is removed:

If we remove all of the drop-down panels or only the active popup panel selects.

1 = all
0 = enabled only

You must not move the handle Panel to this feature: it is possible that every nonzero value is interpreted as a command "remove all". Typically, you call RemovePopup (0) to delete the last installed only popup.

Tags: NI Software

Similar Questions

Maybe you are looking for