CWindow::GetParent
부모 창을 검색합니다.
HWND GetParent( ) const throw();
설명
참조 GetParent 에 있는 Windows SDK.
예제
// The following example attaches a HWND to the CWindow object
// and calls CWindow::GetParent to find out the parent
// window of the window wrapped by CWindow object.
CWindow myWindow;
myWindow.Attach(hWnd);
HWND hWndParent = myWindow.GetParent();
요구 사항
헤더: atlwin.h