Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TB_SETHOTITEM2
Collapse the table of content
Expand the table of content

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

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft