Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize


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

© 2015 Microsoft