CWindow::GetTopWindow

Ruft das untergeordnete Fenster der obersten Ebene ab.

HWND GetTopWindow( ) const throw();

Hinweise

Siehe GetTopWindow in Windows SDK.

Beispiel

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

Anforderungen

Header: atlwin.h

Siehe auch

Referenz

CWindow-Klasse

CWindow::GetWindow