Editar

Compartilhar via


TB_GETSTATE message

Retrieves information about the state of the specified button in a toolbar, such as whether it is enabled, pressed, or checked.

Parameters

wParam

Command identifier of the button for which to retrieve information.

lParam

Must be zero.

Return value

Returns the button state information if successful, or -1 otherwise. The button state information can be a combination of the values listed in Toolbar Button States.

Requirements

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