CWnd::GetTopWindow
Visual Studio 2010
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;