ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Window Handle

Was searching knowledge base for a method to get a window handle in labview. The only links I found referred to a set of downloadable functions for NI, doc ID#4935 which was dead.
Is there any existing method to get a window handle?
Thanks

0 Kudos
Message 1 of 7
(4,949 Views)

Do a search in the forum with window handle. you can get a couple of solutions.

If still in trouble, post exactly what is your need.

0 Kudos
Message 2 of 7
(4,946 Views)

Hi TryingOut,

you can use the functions from the User32.dll, for example these: "FindWindow", "GetForegroundWindow" and "GetDesktopWindow".

Hope it helps.
Mike



Message Edited by MikeS81 on 07-07-2008 08:04 AM
Message 3 of 7
(4,932 Views)
Search these forums for "lvutil32", you ll get the entire library of VIs that deal with the DLLs Mike has specified. Smiley Happy
- Partha ( CLD until Oct 2027 🙂 )
Message 4 of 7
(4,912 Views)
Here are the LLBs in Zip Smiley Happy.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 5 of 7
(4,907 Views)
Thanks very much for the responses, these will do the trick.  It gets a bit discouraging for a first timer to try to navigate with the broken links in some of the other threads.
Keith

0 Kudos
Message 6 of 7
(4,879 Views)

here are a version saved for LV Version greater than 8.0

0 Kudos
Message 7 of 7
(4,171 Views)