ListView_SetHotCursor macro (commctrl.h)

Sets the HCURSOR that the list-view control uses when the pointer is over an item while hot tracking is enabled. You can use this macro or send the LVM_SETHOTCURSOR message explicitly. To check whether hot tracking is enabled, call SystemParametersInfo.

Syntax

void ListView_SetHotCursor(
   hwnd,
   hcur
);

Parameters

hwnd

Type: HWND

A handle to a list-view control.

hcur

Type: HCURSOR

A handle to the cursor to be set.

Return value

None

Remarks

A list-view control uses hot tracking and hover selection when the LVS_EX_TRACKSELECT style is set.

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