This method retrieves the window’s top-level parent or owner window.
At a Glance
Syntax
HWND GetTopLevelWindow( ) const;
See Also
CWindow::GetTopLevelParent, CWindow::GetWindow