Export (0) Print
Expand All
Expand Minimize

TB_BUTTONSTRUCTSIZE message

Specifies the size of the TBBUTTON structure.

Parameters

wParam

Size, in bytes, of the TBBUTTON structure.

lParam
Must be zero.

Return value

No return value.

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_ADDBITMAP or TB_ADDBUTTONS message. The CreateToolbarEx function automatically sends TB_BUTTONSTRUCTSIZE, and the size of the TBBUTTON structure is a parameter of the function.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft