关于EnumChildWindows遍历QQ聊天窗口控件的问题
火星熊猫 2009-06-23 01:43:07 CallBack lpfn = new CallBack(this.ChildWindowsProcess);
API.EnumChildWindows(this.windowhandle, lpfn, 0);
private bool ChildWindowsProcess(int hwnd, int lParam)
{
API.GetClassName(hwnd, this.buff, this.buff.Capacity);
MessageBox.Show(buff.ToString());
return true;
}
用以上代码遍历QQ2008的聊天窗口可以正确的获得 RichEdit20A、button等控件
但是遍历QQ2009的聊天窗口只能获得一个叫 ATL:602E54D8 的东西 不知道这个东西是什么?
有没有办法可以获得QQ2009聊天窗口的控件句柄呢?