We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

Frame Window Classes (Windows)

Frame windows are windows that frame an application or a part of an application. Frame windows usually contain other windows, such as views, tool bars, and status bars. In the case of CMDIFrameWnd, they may contain CMDIChildWnd objects indirectly.


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.


A half-height frame window typically seen around floating toolbars.


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

Class CMenu provides an interface through which to access your application's menus. It is useful for manipulating menus dynamically at run time; for example, when adding or deleting menu items according to context. Although menus are most often used with frame windows, they can also be used with dialog boxes and other nonchild windows.


Encapsulates an HMENU handle to the application's menu bar and pop-up menus.