Command Bars Functions (Compact 2013)

3/28/2014

The following table shows the command bar functions, with a description of the purpose of each.

Programming element

Description

CommandBar_AddBitmap

This function adds one or more images to the list of button images available for use in the command bar.

CommandBar_AddAdornments

This function adds the Close button (X) to the command bar.

CommandBar_AlignAdornments

This function aligns the buttons on the command bar.

CommandBar_InsertComboBox

This function inserts a combo box into the command bar.

CommandBar_InsertMenubar

This function inserts a menu bar into the command bar.

CommandBar_InsertMenubarEx

This function inserts a menu into a command bar.

CommandBar_Create

This function instantiates a new command bar.

CommandBar_DrawMenuBar

This function repositions and redraws the command bar after a menu in the command bar has been modified.

CommandBar_GetMenu

This function retrieves the handle to a menu on the command bar.

CommandBar_Height

This function retrieves the height of the command bar in pixels.

CommandBar_Show

This function shows or hides the command bar.

See Also

Reference

Command Bars Reference