TB_CHECKBUTTON

This message checks or unchecks a specified button in a toolbar.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

  1. 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 Values

TRUE indicates success. FALSE indicates failure.