Contents Index Topic Contents | ||
Previous Topic: TB_ADDBITMAP Next Topic: TB_ADDSTRING |
TB_ADDBUTTONS
TB_ADDBUTTONS wParam = (WPARAM) (UINT) uNumButtons; lParam = (LPARAM) (LPTBBUTTON) lpButtons;Adds one or more buttons to a toolbar.
- Returns TRUE if successful, or FALSE otherwise.
- uNumButtons
- Number of buttons to add.
- lpButtons
- Address of 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 buttons specified by uNumButtons.
If the toolbar was created using the CreateWindowEx function, you must send the TB_BUTTONSTRUCTSIZE message to the toolbar before sending TB_ADDBUTTONS.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.