ListView_SetHotItem
TOC
Collapse the table of content
Expand the table of content

ListView_SetHotItem macro

Sets the hot item in a list-view control. You can use this macro or send the LVM_SETHOTITEM message explicitly.

Syntax


INT ListView_SetHotItem(
   HWND hwndLV,
   INT  iIndex
);

Parameters

hwndLV

Type: HWND

A handle to a list-view control.

iIndex

Type: INT

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

Return value

Returns the index of the item that was previously hot.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show:
© 2016 Microsoft