LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

how to install Message pop up in a second thread

I have an multithreaded application. I am trying to pop-up an error message while i'm inside a thread (other than the main thread that gui runs in). I use MessagePopup in the User Interface library. However, the new popup message is not over the other windows. Meaning it is in a different thread, hence the main window is not dimed and can be accesses. How can I get around this?
thanks so much
0 Kudos
Message 1 of 2
(3,065 Views)
You could use PostDeferredCallToThread to launch a callback in the user interface thread.
The deferred callback can issue the popup message you need.

Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(3,065 Views)