CMDIChildWnd::GetMDIFrame
Call this function to return the MDI parent frame.
CMDIFrameWnd* GetMDIFrame( );
Return Value
A pointer to the MDI parent frame window.
Remarks
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.
Requirements
Header: afxwin.h