Call this member function to retrieve the parent frame window. The member function searches up the parent chain until a CFrameWnd (or derived class) object is found.
CFrameWnd* GetParentFrame( ) 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::GetDescendantWindow, CWnd::GetParent, CFrameWnd, CFrameWnd::GetActiveView