Frame Window Classes (Architecture)

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at 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.

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

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

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

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

See Also

Class Overview