CWindow::GetParent
Recupera a janela pai imediato.
HWND GetParent( ) const throw();
Comentários
Consulte GetParent em Windows SDK.
Exemplo
// 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();
Requisitos
Cabeçalho: atlwin.h