CWindow::GetTopWindow

최상위 수준의 하위 창을 검색합니다.

HWND GetTopWindow( ) const throw();

설명

참조 GetTopWindow 에 있는 Windows SDK.

예제

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::GetTopWindow() to get the top-level child window

CWindow myWindow;
myWindow.Attach(hWnd);
HWND hWndFavoriteChild = myWindow.GetTopWindow();

요구 사항

헤더: atlwin.h

참고 항목

참조

CWindow 클래스

CWindow::GetWindow