This documentation is archived and is not being maintained.

CListCtrl::SetHotItem

Sets the current hot item of a list view control.

int SetHotItem(
   int iIndex 
);

iIndex

Zero-based index of the item to be set as the hot item.

The zero-based index of the previously hot item.

This member function implements the behavior of the Win32 macro, ListView_SetHotItem, as described in the Windows SDK.

See the example for CListCtrl::GetHotItem.

Header: afxcmn.h

Show: