CWnd::GetTopWindow
Visual Studio 2005
Searches for the top-level child window that belongs to CWnd.
CWnd* GetTopWindow( ) const;
Searches for the top-level child window that belongs to CWnd.
CWnd* GetTopWindow( ) const;