LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to keep showing external dialog window in foreground of labview window

Solved!
Go to solution

hi,

 i have run .exe file from my labview using exce.vi. It wokrs too. but i have problem with dialog window from .exe file.if i run .exe file using command line it appears a dialog window named for example 'START' if i pressed yes or No then again appears new dialog window and so on till finished.But problem is the first dialog window appears foreground of my labview and then others background (suppresed).to do further at first i have to minimized my labview window.how could i keep showing that dialog window always foreground of my labview??Thanks.

0 Kudos
Message 1 of 3
(2,843 Views)

You could add code to your LabVIEW program to detect each new dialog, and to bring it to the front. I grabbed the following two links from a similar post, either link shows how to programmatically bring a window (LabVIEW or not) to the front:

 

https://decibel.ni.com/content/docs/DOC-4745

 

https://decibel.ni.com/content/docs/DOC-4551

 

------

Matt Kirk

Inventor of ImageJVI

0 Kudos
Message 2 of 3
(2,832 Views)
Solution
Accepted by topic author tadhika

There are 2 ways to make a window ALWAYS in front of your panel:

1. Child window.  A child window is always in front of its parent window.

2. Topmost window.  Topmost windows are always in front of normal windows.

 

George Zou
0 Kudos
Message 3 of 3
(2,821 Views)