Compartir a través de


CWindow::GetTopWindow

Recupera la ventana secundaria de nivel superior.

HWND GetTopWindow( ) const throw();

Comentarios

Vea GetTopWindow en Windows SDK.

Ejemplo

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

Requisitos

encabezado: atlwin.h

Vea también

Referencia

Clase de CWindow

CWindow::GetWindow