TB_BUTTONSTRUCTSIZE (Compact 2013)
3/28/2014
This message specifies the size of the TBBUTTON structure.
Syntax
TB_BUTTONSTRUCTSIZE wParam = (WPARAM) cb;
lParam = 0;
Parameters
- cb
Size, in bytes, of the TBBUTTON structure.
- lParam
Not used.
Return Value
None.
Remarks
The system uses the size to determine which version of the common control dynamic-link library (DLL) is being used.
If an application uses the CreateWindowEx function to create the toolbar, the application must send this message to the toolbar before sending the TB_ADDBUTTONS or TB_INSERTBUTTON message. The CreateToolbarEx function automatically sends TB_BUTTONSTRUCTSIZE, and the size of the TBBUTTON structure is a parameter of the function.
Requirements
Header |
commctrl.h |
See Also
Reference
Toolbar Controls Messages
CreateWindowEx
TB_ADDBITMAP
TB_ADDBUTTONS
TBBUTTON