LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

MessagePopup() top most focus

MessagePopup() dialog keep hiden under other applications.  How can we bring it to the foreground?  I am running LabWindows/CVI 2010 on Windows 7 system.

0 Kudos
Message 1 of 3
(3,029 Views)

hi,

    As far as i know, there is no way to bring MessagePopup window/panel over all aplication.

    You can call int MakeApplicationActive (void); to bring application on top of other and then call MessagePopup() but it is not the same.

    You can also create your own panel and set its Floating style attribute to Always (From UIR editor double click on panel, then on "Other attributes" button) .

    This works good on non-modal panel(displayed by DisplayPanel or by ATTR_VISIBLE) but not sure if works with modal panel(displayed by InstalPopup(pPanel))

0 Kudos
Message 2 of 3
(3,022 Views)

I found the work around solutions. Call Microsoft Win32 function to set main application main windows focus.  

 

Thank you.

0 Kudos
Message 3 of 3
(3,014 Views)