Export (0) Print
Expand All
Expand Minimize

TB_SETHOTITEM2 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
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 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft