TB_SETHOTITEM message

Sets the hot item in a toolbar.

Parameters

wParam

Index of the item that will be made hot. If this value is -1, none of the items will be hot.

lParam

Must be zero.

Return value

Returns the index of the previous hot item, or -1 if there was no hot item.

Remarks

The behavior of this message is not defined for toolbars that do not have the TBSTYLE_FLAT style.

Requirements

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