We recommend using Visual Studio 2017

Control Bar Classes


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 Control Bar Classes.

Control bars are attached to a frame window. They contain buttons, status panes, or a dialog template. Free-floating control bars, also called tool palettes, are implemented by attaching them to a CMiniFrameWnd object.

These control bars are an integral part of the MFC framework. They are easier to use and more powerful than the Windows control bars because they are integrated with the framework. Most MFC applications use these control bars rather than the Windows control bars.

The base class for MFC control bars listed in this section. A control bar is a window aligned to the edge of a frame window. The control bar contains either HWND-based child controls or controls not based on an HWND, such as toolbar buttons.

A control bar that is based on a dialog box template.

Supports a toolbar that can contain additional child windows in the form of controls.

Toolbar control windows that contain bitmap command buttons not based on an HWND. Most MFC applications use this class rather than CToolBarCtrl.

The base class for status-bar control windows. Most MFC applications use this class rather than CStatusBarCtrl.

These control bars are thin wrappers for the corresponding Windows controls. Because they are not integrated with the framework, they are harder to use than the control bars previously listed. Most MFC applications use the control bars previously listed.

Implements the internal control of the CRebar object.

A horizontal window, usually divided into panes, in which an application can display status information.

Provides the functionality of the Windows toolbar common control.

A small pop-up window that displays a single line of text describing the purpose of a tool in an application.

Handles persistent storage of docking state data for control bars.

Class Overview