LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get control button handle (HWND)

How do I get control button handle on labWindow panel?
0 Kudos
Message 1 of 5
(4,993 Views)

You can't: CVI controls are not standard Windows controls and do not have a window handle (they actually aren't "windows").



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 5
(4,989 Views)

Hi Roberto,

 

Proceed the question, I want to use the canvas control to display video via the VLC sdk, there is a function, "ibvlc_media_player_set_hwnd(m_plibvlc_media_player, (void*)hwnd, &m_libvlc_ex);", where the parameter hwnd should be set as the control handle, is there any to map a windows handle?

 

 

David

 

0 Kudos
Message 3 of 5
(4,889 Views)

The full function is "libvlc_media_player_set_hwnd(m_plibvlc_media_player, (void*)hwnd, &m_libvlc_ex);"

0 Kudos
Message 4 of 5
(4,888 Views)

Based on what O wrote earlier in this thread, I tend to say that you can't do that but I have no direct experience on this matter. Let's see if somebody has some solution  to suggest.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 5 of 5
(4,879 Views)