Share via


TB_BUTTONSTRUCTSIZE (Windows CE 5.0)

Send Feedback

This message specifies the size of the TBBUTTON structure.

TB_BUTTONSTRUCTSIZEwParam=(WPARAM)cb;lParam= 0;

Parameters

  • cb
    Size, in bytes, of the TBBUTTON structure.
  • lParam
    Not used.

Return Values

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

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

CreateWindowEx | TB_ADDBITMAP | TB_ADDBUTTONS | TBBUTTON | Toolbar Controls Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.