|
|
发表于 2009-3-28 09:42:01
|
显示全部楼层
本帖最后由 labc 于 2009-3-28 09:51 编辑
tester, 你说得没错啊.
从楼主提供的资料来看, 有两种情况, 一种就是要窗口的, 另外一种例外情况是ActiveX可能需要Hwnd. ActiveX 就用我给的那个方法.
请楼主试试吧.
下面是别人的发言:
All native LabVIEW controls are entirely handled internal to LabVIEW and Windows is not aware at all that there is something like a control inside a LabVIEW panel. LabVIEW uses Windows HWNDs only for its windows, both front panels and block diagrams. The exception to this are Active X controls that of course need to use a HWND somehow in order to work as Windows requires them to do.
Labc |
|