10-12-2010 11:47 AM
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
10-12-2010 04:07 PM
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