Редагувати

Поділитися через


TB_CHECKBUTTON message

Checks or unchecks a given button in a toolbar.

Parameters

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.

Return value

Returns TRUE if successful, or FALSE otherwise.

Remarks

When a button is checked, it is displayed in the pressed state.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h