Hamid wrote on Tue, 2 Mar 2004 14:25:36 -0500
I need to get the name of all the windows that are open.  Also, I need
to find out the status of the windows, i.e. which one of them is
maximized or minimized?
(This is NOT limited to LabVIEW windows, any other window must be
included)

How can I find out which window is "active"?

Any help is appreciated.


My G Toolbox VIs can do what you want:

"Enumerate Windows" gives you all windows opened at the time,
visible or invisible;

"Get Window Status" tells you whether a window is maximized or
minimized, visible or invisible;

"Get Foreground Window" returns the handle of the foreground
window (the window with which the user is currently working).

Above VIs are based on Window APIs, so they are not limited to
LabVIEW windows.

George Zou
http://gtoolbox.yeah.net

_________________________________________________________________
One-click access to Hotmail from any Web page � download MSN Toolbar now! http://clk.atdmt.com/AVE/go/onm00200413ave/direct/01/





Reply via email to