TB_MARKBUTTON message

Sets the highlight state of a given button in a toolbar control.

Parameters

wParam

Command identifier for a toolbar button.

lParam

The LOWORD is a BOOL that indicates the new highlight state. If TRUE, the button is highlighted. If FALSE, the button is set to its default state.

The HIWORD must be zero.

Return value

Returns nonzero if successful, or zero otherwise.

Requirements

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