Call this member function to obtain a pointer to the top-level child window that belongs to this CWnd.
CWnd* GetTopWindow( ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories