Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.4 KB

frame-window-classes-architecture.md

File metadata and controls

30 lines (21 loc) · 1.4 KB
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Frame Window Classes (Architecture)
Frame Window Classes (Architecture)
11/04/2016
frame window classes [MFC], document/view architecture
5da01fb4-f531-46cc-914f-e422e4f07f5d

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