CToolBarCtrl::SetHotItem

int SetHotItem( int nHot );

Return Value

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

Parameters

nHot

The zero-based index number of the item that will be made hot. If this value is -1, none of the items will be hot.

Remarks

This member function implements the behavior of the Win32 message TB_SETHOTITEM, as described in the Platform SDK.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::GetHotItem