Share via


Command Bars Functions

A version of this page is also available for

Windows Embedded CE 6.0 R3

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

Reference

Command Bars Reference