Share via


CWindow::GetTopLevelWindow

 

Retrieves the window's top-level parent or owner window.

Syntax

HWND GetTopLevelWindow( ) const throw();

Return Value

The handle to the top-level owner window.

Requirements

Header: atlwin.h

See Also

CWindow Class
CWindow::GetTopLevelParent
CWindow::GetWindow