TB_INSERTBUTTON message

Inserts a button in a toolbar.

Parameters

wParam

Zero-based index of a button. The message inserts the new button to the left of this button.

lParam

Pointer to a TBBUTTON structure containing information about the button to insert.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h
Unicode and ANSI names
TB_INSERTBUTTONW (Unicode) and TB_INSERTBUTTONA (ANSI)