CWnd::GetTopLevelOwner
Visual Studio 2012
Call this member function to retrieve the top-level window.
CWnd* GetTopLevelOwner( ) const;
Call this member function to retrieve the top-level window.
CWnd* GetTopLevelOwner( ) const;