CMDIChildWnd::GetMDIFrame

CMDIFrameWnd* GetMDIFrame( );

Return Value

A pointer to the MDI parent frame window.

Remarks

Call this function to return the MDI parent frame. The frame returned is two parents removed from the CMDIChildWnd and is the parent of the window of type MDICLIENT that manages the CMDIChildWnd object. Call the GetParent member function to return the CMDIChildWnd object’s immediate MDICLIENT parent as a temporary CWnd pointer.

Example

See the example for CMDIFrameWnd::MDISetMenu.

CMDIChildWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::GetParent