void FindWindowChild(HWND hParamWnd) { HWND hFindWnd = ::FindWindowEx(hParamWnd, NULL, NULL, NULL); while(hFindWnd != NULL) { // some work... if (IsWindow(hFindWnd) && ::IsWindowVisible(hFindWnd)) { // delete me //WCHAR buf[1024]; //::GetWindowText(hFindWnd, buf, 1024); //OutputDebugString(buf); FindWindowChild(hFindWnd); } hFindWnd = ::FindWindowEx(hParamWnd, hFindWnd, NULL, NULL); } }
FindWindowChild(GetDesktopWindow()->GetSafeHwnd()); 을 하면 모든 윈도우를 검색한다.
C++
HWND
윈도우
Retrieved from http://hyacinth.byus.net/moniwiki/wiki.php/C++/모든 자식 윈도우 검색
last modified 2013-02-21 17:43:57