LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

windows hide

I have an application that I invoke using activeX in a Labview standalone. This opens an external application with 2 windows.

I want just my standalone to be visible and all external applications called by it to be invisible or hidden. There are no options with the activeX properties of that application. I understand it has to do something with windows handling. Can someone help me on that and be specific please ? Thanks !

Kudos are the best way to say thanks 🙂
0 Kudos
Message 1 of 5
(3,517 Views)
Use G Toolbox (http://gtoolbox.yeah.net)

First of all, you've to find the window handle.
Some ActiveX will return a window handle;
If you know acxact window name, use "FindWindow" to get window handle;
If the window is on top of all windows, use "GetForegroundWindow";
...

Then call "ShowWindow" with flag set to hidden.

George Zou
George Zou
0 Kudos
Message 2 of 5
(3,492 Views)
Another approach is to make your program frontmost. You can do this with the Application Control / Property Node. Just every few seconds make it “Frontmost”.
Yours Sincerely
John www.tradersmicro.com
0 Kudos
Message 3 of 5
(3,475 Views)
Hi

I am able to hide the window instances of the activex using hide window.vi . There is still taskbar entry. Probably it's because the instance is in run-mode. I want to eliminate that too. I looked at GToolbox for hiding taskbar but the version is outdated. It doesnt load in mine (7.0). Also when I run my code, there is a pop-up of the activex instance which I suppress. The pop-up stays for like less than a second. Is there a way to suppress that instance.

I've set my VI as foremost application. Any tips ?

Kudos are the best way to say thanks 🙂
0 Kudos
Message 4 of 5
(3,453 Views)
Hi John,

In a reply to your other discussion forum posting I described how to make the external application windows invisible. This process will also hide them from the task bar. You can find this posting at:
http://forums.ni.com/ni/board/message?board.id=170&message.id=97469&query.id=4433#M97469

Thanks,
Caroline
National Instruments
Thanks,
Caroline Tipton
Data Management Product Manager
National Instruments
0 Kudos
Message 5 of 5
(3,437 Views)