This method retrieves 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 method returns NULL.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CFrameWnd* GetTopLevelFrame( ) const;
CWnd::GetTopLevelOwner, CWnd::GetTopLevelParent, CFrameWnd