TB_SETSTATE message

Sets the state for the specified button in a toolbar.

Parameters

wParam

Command identifier of the button.

lParam

The LOWORD is a combination of values listed in Toolbar Button States. The HIWORD must be zero.

Return value

Returns TRUE if successful, or FALSE otherwise.

Requirements

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