LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to make labview messages always appear on top of all windows?

I have a main VI running and a user selects a non-Labview window to work on. Is there a way make the user prompt or user input express VI messages appear on top of all windows? I have experimented with the "make window always on top.vi" from the NI website. That brings the VI that is running to the top but not the prompt for the express VI message. I have also used the "make window always on top.vi" in a sub-VI and called that sub-VI to be always on top and it works. I was just wondering if there was a way to do it with the express VIs that NI already has written instead of making a custom message the way I have mentioned.
 
Thanks,
Troy
0 Kudos
Message 1 of 5
(3,421 Views)
I do not see a way. i would suggest building your own vi and setting it to operate as a dialog.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 5
(3,409 Views)
If you only need to display a prompt and can get by with a limited set of canned buttons (OK, Cancel, Retry, Continue, etc.), you can try a VI that calls the Windows API MessageBox function. You can display a message box with user-defined title, text and buttons. There is an option to use the system modality which is what you want in this case. I use my own version of this all the time for that very reason.

Message Box
0 Kudos
Message 3 of 5
(3,398 Views)
This message box seems to do the trick. Thanks for the help.
0 Kudos
Message 5 of 5
(3,381 Views)