CommandBar_AddButtons (Windows Embedded CE 6.0)
1/6/2010
This macro adds one or more buttons to the command bar.
Syntax
BOOL CommandBar_AddButtons(
HWND hwndCB,
UINT uNumButtons,
LPTBBUTTON lpButtons
);
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 Value
TRUE indicates success. FALSE indicates failure.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 1.0 and later |
See Also
Reference
Command Bars Macros
CommandBar_Create
CommandBar_InsertButton
TBBUTTON