TB_GETHOTITEM message

Retrieves the index of the hot item in a toolbar.

Parameters

wParam

Must be zero.

lParam

Must be zero.

Return value

Returns the index of the hot item, or -1 if no hot item is set. Toolbar controls that do not have the TBSTYLE_FLAT style do not have hot items.

Requirements

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