如何获取程序中的Internet Explorer_Server 孙子窗口???
下边的程序没能够获取,怎样才可以???
HANDLE hWindow;
// 取得 Program Manager 窗口句柄
hWindow = FindWindow(0,txtcaption->Text.c_str()) ;
// 查找 SHELLDLL_DefView 子窗口
if (hWindow)
{
hWindow = FindWindowEx(hWindow, 0, "Shell DocObject View", NULL);
// 查找 Internet Explorer_Server 孙子窗口 呵呵
if (hWindow)
if (FindWindowEx(hWindow, 0, "Internet Explorer_Server",""))
ShowMessage("aa");
}