A toolbar is a control bar that contains the bitmap images of controls. These images can behave like pushbuttons, check boxes, or radio buttons. MFC supplies class to manage toolbars.
If you enable it, users of MFC toolbars can dock them to the edge of a window or "float" them anywhere within the application window. MFC doesn’t support customizable toolbars like those in the development environment.
MFC also supports tool tips: small pop-up windows that describe a toolbar button's purpose when you position the mouse over the button. By default, when the user presses a toolbar button, a status string appears in the status bar (if there is one). You can activate "fly by" status bar updating to display the status string when the mouse is positioned over the button without pressing it.
Note As of MFC version 4.0, toolbars and tool tips are implemented using Windows 95 functionality instead of the previous implementation specific to MFC. For more information, see the article Toolbars.
For backward compatibility, MFC retains the older toolbar implementation in class COldToolBar. The documentation for earlier versions of MFC describe COldToolBar under CToolBar.
Create a first toolbar in your program by selecting the Initial Toolbar option in AppWizard. You can also create additional toolbars.