TB_CHECKBUTTON (Compact 2013)
3/28/2014
For a toolbar, this message checks or clears a specified button.
For a central menu, this message sets or unsets the checked state of the corresponding menu item (soft keys do not support drawing a check).
Syntax
TB_CHECKBUTTON
wParam = (WPARAM) idButton;
lParam = (LPARAM) MAKELONG (fCheck, 0);
Parameters
- idButton
Command identifier of the button to check.
- fCheck
Check flag. If set to TRUE, the check is added. If set to FALSE, the check is removed.
Return Value
TRUE indicates success. FALSE indicates failure.
Requirements
Header |
commctrl.h |