TB_CHECKBUTTON
The
TB_CHECKBUTTON message checks or unchecks a given button in a toolbar.
TB_CHECKBUTTON
wParam = (WPARAM) idButton;
lParam = (LPARAM) MAKELONG(fCheck, 0);
Parameters
idButton
Command
identifier of the button to check.
fCheck
Check flag.
If this parameter TRUE, the check is added. If it is FALSE, the check is
removed.
Return Values
Returns TRUE
if successful or FALSE otherwise.
Remarks
When a button
has been checked, it appears to have been pressed.