TB_ADDBUTTONS
The
TB_ADDBUTTONS message adds one or more buttons to a toolbar.
TB_ADDBUTTONS
wParam = (WPARAM) (UINT) uNumButtons;
lParam = (LPARAM) (LPTBBUTTON) lpButtons;
Parameters
uNumButtons
Number of
buttons to add.
lpButtons
Pointer to an
array of TBBUTTON
Return Values
Returns TRUE
if successful or FALSE otherwise.
Remarks
If the
toolbar was created by using the CreateWindowEx function, you must send
the TB_BUTTONSTRUCTSIZE message to the toolbar before sending TB_ADDBUTTONS.
See Also