Call this member function to retrieve the window's top level frame window, if any. If CWnd has no attached window, or its top-level parent is not a CFrameWnd-derived object, this function returns NULL.
CFrameWnd* GetTopLevelFrame( ) const;
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetTopLevelOwner, CWnd::GetTopLevelParent, CFrameWnd