Professional User Interface Suite, Copyright FOSS Software Inc. Help Published with Permission.

Properties

g_bToolbarLargeIcons Enables double-size icons if true; otherwise, disables.
g_bToolbarScreenTips �Enables tooltips over toolbar buttons if true; otherwise, disables.
g_bToolbarShortcutKeysOnScreenTips �Enables showing shortcut keys in tooltips if true; otherwise, disables.
m_bAutoHideOnCustomizationEnd If set to true, the toolbar gets automatically hidden when the Customize dialog is closed; otherwise, the visibility state is not changed.
m_bAutoShowOnCustomizationStart If set to true, the toolbar gets automatically visible when the Customize dialog is opened; otherwise, the visibility state is not changed.
m_bCustomizationAllowed If set to true, the toolbar can be customized; otherwise, it cannot be customized.
m_bForceBalloonGradientInDialogs If set to true, the gradient background is used when the toolbar is put onto a dialog and the Office 2003/Studio2005 theme is currently applied; otherwise, the dialog background is used.
m_bRightButtonDisplayBarsList �If set to true, the pop-up menu activated from the chevron button contains a list of show/hide commands for all toolbars; otherwise, the list is absent.

Classes

CExtToolControlBar Constructor.
CommandToIndex Returns the index of the control that implements the command specified by nIDFind.
GetButton Returns a pointer to the CExtBarButton object associated with the toolbar's control specified by nIndex.
GetButtonCtrl Returns a pointer to the CWnd object specified the toolbar's control. If a wrong index is passed in, or the method cannot return the pointer, the method returns NULL.
GetButtonCtrlVisibleVertically Returns the value that indicates whether the control itself (if true), or only its associated button (if false) is displayed on the vertically docked toolbar. By default, controls either are not displayed, or displayed as buttons on a vertically docked toolbar.
GetButtonID Returns the identifier of the toolbar's control by index.
GetButtonInfo Returns both toolbar control's command identifier and toolbar control's current style.
GetButtonMenu Returns a menu descriptor of the toolbar's control. If case of no menu, the method returns NULL.
GetButtonRect Returns the rectangular area occupied by the control in the toolbar.
GetButtonsCount Returns the number of the controls in the toolbar.
GetButtonStyle Returns the control's style. The style is defined by the TBSS_XXX standard constants.
GetRightButton Returns a pointer to the CExtBarContentExpandButton object associated with the toolbar's control to invoke the pull down menu.
InitContentExpandButton Adds the chevron button to the end of the toolbar and returns true if successful or false otherwise.
InsertButton Adds a new button or separator (by default) to a toolbar at the specified position
InsertSpecButton Adds a new CExtBarButton button to a toolbar at the specified position
LoadToolBar Loads the toolbar from the resource.
MarkButtonAsMdiWindowsMenu Appends/deletes a list of MDI windows to the menu of the toolbar button. The method is usually used for menu bars and makes sense only in case of MDI applications.
RemoveButton Removes the element from the toolbar at the position specified by nPos.
SetButtonCtrl Assigns the CWnd object to the toolbar's control.
SetButtonCtrlVisibleVertically Specifies whether the control itself, or only its associated button should be displayed on the vertically docked toolbar. By default, controls either are not displayed, or displayed as buttons on a vertically docked toolbar.
SetButtonInfo Assigns both the command identifier and the style to the toolbar's control.
SetButtonMenu Assigns the menu to the toolbar's control.
SetButtons Sets the controls specified by the lpIDArray pointer in the toolbar. Blank elements can also be set in the toolbar.
SetButtonStyle Assigns the style to the toolbar's control. The style is defined by the TBSS_XXX standard constants.

See Also

CExtToolControlBar Overview | Hierarchy Chart