TB_INSERTBUTTON (Windows Embedded CE 6.0)
1/6/2010
This message inserts a button in a toolbar.
Syntax
TB_INSERTBUTTON wParam = (WPARAM) iButton;
lParam = (LPARAM)(LPTBBUTTON) lpButton;
Parameters
- iButton
Zero-based index of a button. The message inserts the new button to the left of this button.
- lpButton
Long pointer to a TBBUTTON structure that contains information about the button to insert.
Return Value
TRUE indicates success. FALSE indicates failure.
Remarks
If an application uses the CreateWindowEx function to create the toolbar, the application must send a TB_BUTTONSTRUCTSIZE message to the toolbar before sending the TB_INSERTBUTTON message.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 1.0 and later |