CWindow::GetTopWindow

Recupera la finestra figlio di primo livello.

HWND GetTopWindow( ) const throw();

Note

Vedere GetTopWindow in Windows SDK.

Esempio

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

Requisiti

Header: atlwin.h

Vedere anche

Riferimenti

Classe di CWindow

CWindow::GetWindow