Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining


Constructs a CMDIFrameWnd object.

CMDIFrameWnd( );

Call the Create or LoadFrame member function to create the visible MDI frame window.

// Create main MDI Frame window. CMainFrame is a CMDIFrameWnd-derived  
// class. The default CFrameWnd::PostNcDestroy() handler will delete this  
// object when destroyed.
CMainFrame* pMainFrame = new CMainFrame;

Header: afxwin.h

© 2015 Microsoft