TB_CHECKBUTTON message
Checks or unchecks a given button in a toolbar.
-
wParam
-
Command identifier of the button to check.
-
lParam
-
The LOWORD is a BOOL that indicates whether to check or uncheck the specified button. If TRUE, the check is added. If FALSE, the check is removed.
Returns TRUE if successful, or FALSE otherwise.
When a button is checked, it is displayed in the pressed state.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2003 [desktop apps only] |
Header |
|