如何得到一个窗体的子控件句柄?
vb.net吧
全部回复
仅看楼主
level 6
[email protected]
楼主
rt
2014年12月29日 17点12分
1
level 6
[email protected]
楼主
谁能给点代码?
2014年12月29日 17点12分
2
level 9
Yentre
用FindWindow获取的父窗口的句柄,传递给这个EnumChildWindows函数,然后EnumChildWindows的回调函数会枚举父窗口所有的子窗口,然后GetWIndowLong(hwWndChild,GWL_ID)的返回值得到控件ID
2014年12月30日 03点12分
3
level 12
刘大王111
findwindowex
2015年01月04日 12点01分
4
1