CWindow::GetParent
Extrait la fenêtre parente immédiate.
HWND GetParent( ) const throw();
Notes
Consultez GetParent dans Kit de développement logiciel Windows.
Exemple
// 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();
Configuration requise
Header: atlwin.h