|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| -
| Header File
| commctrl.h
| Unicode
| No
| Platform Notes
| None
|
|
|
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 structures that contains information about the buttons to add. There must be
the same number of elements in the array as buttons specified by uNumButtons.
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
CreateWindowEx, TBBUTTON, TB_BUTTONSTRUCTSIZE
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|