16,472
社区成员
发帖
与我相关
我的任务
分享
{
..................
EnumChildWindows(hParent, EnumChildProc, 0);
..................
}
BOOL CALLBACK EnumChildProc(HWND hwndChild, LPARAM lParam)
{
if (hwndChild == hwndTargetWindow)
{
OutputDebugString("找到匹配窗口");
}
return TRUE;
}