LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LaunchExecutableEx hides GUI

Hi,

I'm writing a GUI which calls a text mode program (DOS), using LaunchExecutableEx
command. However, the dos window rises on top of the GUI window after printf commands.

I want the GUI to be active and at front all time.

I tried to launch the LaunchExecutableEx command with attributes of hide, or inactive, but non of them helped.

THANKS!

Hagruzini

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

MosheHagruzini:

 

Even if the stdio window is hidden, the next printf statement causes it to be displayed.

 

You could try using SetStdioWindowPosition() to set the stdio window position offscreen.  See my earlier post here:

http://forums.ni.com/t5/LabWindows-CVI/How-to-Close-Standard-IO-Window/m-p/978102#M42849

 

If, after doing that, you have a problem with the focus between windows, take a look at this post.

http://forums.ni.com/t5/LabWindows-CVI/Focus-between-two-applications/m-p/1016762

 

Message 2 of 2
(3,060 Views)