TB_ADDBUTTONS

This 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
    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 buttons specified by uNumButtons.

Return Values

True indicates success. FALSE indicates failure.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

CreateWindowEx, TBBUTTON, TB_BUTTONSTRUCTSIZE

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.