CommandBar_AddButtons (Windows CE 5.0)

Send Feedback

This macro adds one or more buttons to the command bar.

BOOLCommandBar_AddButtons(HWNDhwndCB, UINTuNumButtons, LPTBBUTTONlpButtons);

Parameters

  • hwndCB
    Handle to the command bar's window. This handle is returned by the CommandBar_Create function when the command bar is created.
  • uNumButtons
    Unsigned integer that contains the number of buttons to add.
  • lpButtons
    Long pointer to an array of TBBUTTON structures that contain information about the buttons to add. There must be the same number of elements in the array as specified in the uNumButtons parameter.

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

CommandBar_Create | CommandBar_InsertButton | TBBUTTON

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.