TB_SETHOTITEM2 message (Windows)

Switch View :
ScriptFree
TB_SETHOTITEM2 message

Applies to: desktop apps only

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
A combination of HICF_xxx flags. See NMTBHOTITEM.

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

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Commctrl.h

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012