Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This structure contains or receives information for a specific button in a toolbar.
typedefstruct{UINTcbSize;DWORDdwMask;intidCommand;intiImage;BYTEfsState;BYTEfsStyle;WORDcx;DWORDlParam;LPTSTRpszText;intcchText;}TBBUTTONINFOA,*LPTBBUTTONINFOA;
Members
- cbSize**
Size of the structure, in bytes. This member must be filled in prior to sending the associated message. - dwMask**
Indicates which members contain valid information. This member must be filled in prior to sending the associated message. This can be a combination of one or more of the following values.Value Description TBIF_BYINDEX Specifies that the wparam in TB_GETBUTTONINFO or TB_SETBUTTONINFO is an index, not an indentifier. TBIF_COMMAND The idCommand member contains valid information or is being requested. TBIF_IMAGE The iImage member contains valid information or is being requested. TBIF_LPARAM The lParam member contains valid information or is being requested. TBIF_SIZE The cx member contains valid information or is being requested. TBIF_STATE The fsState member contains valid information or is being requested. TBIF_STYLE The fsStyle member contains valid information or is being requested. TBIF_TEXT The pszText member contains valid information or is being requested. - idCommand**
Command identifier of the button. - iImage**
Image index of the button. - fsState**
State flags of the button. This is a combination of one or more of the toolbar button states. - fsStyle**
Style flags of the button. This is a combination of one or more of the toolbar button styles. - cx**
Specifies the width of the button, in pixels. - lParam**
Specifies the application defined 32-bit value associated with the button. - pszText**
Pointer to a character buffer that contains or receives the button text. - cchText**
Size of the buffer at pszText. If the button information is being set, this member is ignored.
Requirements
OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.
See Also
Send Feedback on this topic to the authors