07-17-2012 12:37 PM
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.
07-18-2012 05:11 AM
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))
07-18-2012 09:02 AM
I found the work around solutions. Call Microsoft Win32 function to set main application main windows focus.
Thank you.