C++/모든 자식 윈도우 검색 Edit Diff Refresh Backlink Random Search History Help Setting Hide Show 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 윈도우 이 글에는 0 개의 댓글이 있습니다. Please enable JavaScript to view the comments powered by Disqus. comments powered by Disqus