用findwindow得到exe的窗口句柄,通过窗口句柄如何得到这个窗口的控件变量
111 问题点数:20、回复次数:3Top
1 楼kingzai(stevenzhu)回复于 2003-10-03 10:02:13 得分 5
EnumChildWindowsTop
2 楼psusong(栀子花开)回复于 2003-10-03 10:14:23 得分 15
the following codes are used in MFC,I forget the default function parameter,but you can change it according your command!
-------------------------------
CWnd *pwndChild=GetWindow(GW_CHILD)//get the first control
while(pwndChild)
{
// verify the child window
......
//get the next control
pwndChild=pwndChild->GetNextWindow();//the default parameter has been omited
}Top
3 楼memeno(yufan)回复于 2003-10-03 10:15:16 得分 0
具体点吗:)
节日快乐Top




