ListView_GetHotItem macro (commctrl.h)

Gets the index of the hot item. You can use this macro or send the LVM_GETHOTITEM message explicitly.

Syntax

INT ListView_GetHotItem(
   HWND hwnd
);

Parameters

hwnd

Type: HWND

A handle to a list-view control.

Return value

Type: INT

Returns the index of the item that is currently hot.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h