Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

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