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: 

.net control handle

Hi everyone,

 

              I have a question about using API to get the handle, now I can get the handle of the VI window.

              I can get the .net control handle by using SPY++ ,but I want to know the program method about getting the handle of .net control (panel) which please refer to the attachment VI;  anyone can help me, thank you!

Download All
0 Kudos
Message 1 of 3
(2,150 Views)

Hi DAQ_LabVIEW,

 May be you have to do a slight reverse engineering.Open SPY++,and LabVIEW side by side.When you place a .net control and you tried to browse ,the .net contol panel appears.Now put your cursor over the window and search for its window name

I dont have spy++ to provide exact name of window.

 

Regards,

SrikrishnaNF

Regards,
Srikrishna


0 Kudos
Message 2 of 3
(2,141 Views)
SrikrishnaNF
Thanks for your replay! I have been do the method same as your reply,but the .net control panel have no window name, window name is empty in spy++, so I can not use API findwindow to get handle of the net control .
0 Kudos
Message 3 of 3
(2,111 Views)