Sdílet prostřednictvím


CWindow::GetParent

Obnoví okno bezprostřední nadřízený.

HWND GetParent( ) const throw();

Poznámky

Viz GetParent v .

Příklad

// 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();

Požadavky

Záhlaví: atlwin.h

Viz také

Referenční dokumentace

Třída CWindow

CWindow::SetParent