From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(3,791 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
(3,788 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
(3,774 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 2024 🙂 )
Message 4 of 7
(3,754 Views)
Here are the LLBs in Zip Smiley Happy.
- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 5 of 7
(3,749 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
(3,721 Views)

here are a version saved for LV Version greater than 8.0

0 Kudos
Message 7 of 7
(3,013 Views)