This documentation is archived and is not being maintained.


Call this member function to retrieve the parent frame window.

CFrameWnd* GetParentFrame( ) const;

Return Value

A pointer to a frame window if successful; otherwise NULL.


The member function searches up the parent chain until a CFrameWnd (or derived class) object is found.

See Also

CWnd Overview | Class Members | Hierarchy Chart | CWnd::GetDescendantWindow | CWnd::GetParent | CFrameWnd::GetActiveView