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
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

Frame Window Classes (Architecture) 

In document/view architecture, frame windows are windows that contain a view window. They also support having control bars attached to them.

In multiple document interface (MDI) applications, the main window is derived from CMDIFrameWnd. It indirectly contains the documents' frames, which are CMDIChildWnd objects. The CMDIChildWnd objects, in turn, contain the documents' views.

In single document interface (SDI) applications, the main window, derived from CFrameWnd, contains the view of the current document.


The base class for an SDI application's main frame window. Also the base class for all other frame window classes.


The base class for an MDI application's main frame window.


The base class for an MDI application's document frame windows.


Provides the frame window for a view when a server document is being edited in place.

See Also

Community Additions

© 2015 Microsoft