Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 1.65 KB

frame-window-classes-architecture.md

File metadata and controls

40 lines (32 loc) · 1.65 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Frame Window Classes (Architecture) | Microsoft Docs
11/04/2016
cpp-windows
article
vc.classes.frame
C++
frame window classes [MFC], document/view architecture
5da01fb4-f531-46cc-914f-e422e4f07f5d
9
mikeblome
mblome
ghogen

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