LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

window handles

Hi,

Can some one tell me if it is possible to get a value for hwnd of objects,
such as a text box or the VI itself. I want to use an ActiveX control in
labview designed for VB. It takes in the hwnd value of the form it is placed
upon (in VB) in its initialisation.

Thanks,
0 Kudos
Message 1 of 4
(3,099 Views)
You can use every activeX control registered in your system, just check under ActiveX palette, and sure LabVIEW can use hwnd values, because they are used in many api calls like gtoolbox does.
Hope this helps
0 Kudos
Message 2 of 4
(3,099 Views)
Ok fine,
So I use the user32.dll to get the hwnd of a labview vi window. What is the
name of the window? I could use FindWindow but this needs a string with the
name of the window and another parameter. How do I get these values or is
there a more convienient way?
Thanks

"Gorka Larrea" wrote in message
news:506500000005000000C4240000-986697009000@quiq.com...
> You can use every activeX control registered in your system, just
> check under ActiveX palette, and sure LabVIEW can use hwnd values,
> because they are used in many api calls like gtoolbox does.
> Hope this helps
0 Kudos
Message 3 of 4
(3,099 Views)
I haven't investigated hwnd, but why reinvent the wheel? You could use gtoolbox http://gtoolbox.topcool.net/ to do what you want. Hope this feeds your needs.
0 Kudos
Message 4 of 4
(3,099 Views)