Compartilhar via


CWindow::GetTopWindow

Recupera a janela filho de nível superior.

HWND GetTopWindow( ) const throw();

Comentários

See GetTopWindow in the Windows SDK.

Exemplo

//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

Cabeçalho: atlwin.h

Consulte também

Referência

Classe CWindow

CWindow::GetWindow

Outros recursos

CWindow membros