TB_SETBUTTONINFO (Compact 2013)
3/28/2014
This message sets the information for an existing button or central menu item.
Syntax
TB_SETBUTTONINFO
wParam = (WPARAM) (int) iID;
lParam = (LPARAM) (LPTBBUTTONINFO) lptbbi;
Parameters
- iID
Button identifier.
- lptbbi
Long pointer to a TBBUTTONINFO structure that contains the new button information. The cbSize and dwMask members of this structure must be filled in prior to sending this message.
Return Value
Nonzero indicates success. Zero indicates otherwise.
Remarks
For central menus, this message updates the menu item state according to the values in TBBUTTON and the menu item style according to the values in Control Styles.
Requirements
Header |
commctrl.h |
See Also
Reference
Toolbar Controls Messages
TBBUTTONINFO
TBBUTTON
Control Styles