CToolBarCtrl

This class provides the functionality of the Windows CE toolbar common control. A Windows CE toolbar common control is a rectangular child window that contains one or more buttons. These buttons can display a bitmap image, a string, or both. When the user chooses a button, it sends a command message to the toolbar’s owner window. Typically, the buttons in a toolbar correspond to items in the application’s menu; they provide a more direct way for the user to access an application’s commands.

At a Glance

Header file: Afxcmn.h
Platforms: Palm-size PC, H/PC Pro
Windows CE versions: 2.10 and later
Complete documentation: Visual C++ documentation

Remarks

MFC for Windows CE does not support the following methods of the standard MFC CToolBarCtrl class:

CToolBarCtrl::GetToolTips CToolBarCtrl::InsertMarkHitTest
CToolBarCtrl::SetToolTips CToolBarCtrl::GetExtendedStyle
CToolBarCtrl::GetHotImageList CToolBarCtrl::SetExtendedStyle
CToolBarCtrl::GetDropTarget CToolBarCtrl::GetInsertMarkColor
CToolBarCtrl::GetAnchorHighlight CToolBarCtrl::SetInsertMarkColor
CToolBarCtrl::SetAnchorHighlight CToolBarCtrl::SaveState
CToolBarCtrl::GetHotItem CToolBarCtrl::RestoreState
CToolBarCtrl::SetHotItem CToolBarCtrl::MapAccelerator
CToolBarCtrl::GetInsertMark CToolBarCtrl::MarkButton
CToolBarCtrl::SetInsertMark CToolBarCtrl::MoveButton
CToolBarCtrl::GetMaxSize CToolBarCtrl::Customize

See Also

Control Bar Classes