TB_CHECKBUTTON
TOC
Collapse the table of content
Expand the table of content

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show:
© 2016 Microsoft