Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

ListView_SetHotCursor macro

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


HCURSOR ListView_SetHotCursor(
   HWND    hwndLV,
   HCURSOR hCursor
);

Parameters

hwndLV

Type: HWND

A handle to a list-view control.

hCursor

Type: HCURSOR

A handle to the cursor to be set.

Return value

Returns an HCURSOR value that is the cursor that was previously used when the pointer was over an item.

Remarks

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft