CListCtrl::SetHotCursor

HCURSOR SetHotCursor( HCURSOR hc );

Return Value

The handle to the previous hot cursor resource being used by the list view control.

Parameters

hc

A handle to a cursor resource, used to represent the hot cursor.

Remarks

This member function implements the behavior of the Win32 macro, ListView_SetHotCursor, as described in the Platform SDK.

The hot cursor, only visible when hover selection is enabled, appears as the cursor passes over any list view item. Hover selection is enabled by setting the LVS_EX_TRACKSELECT extended style.

Example

See the example for CListCtrl::GetHotCursor.

CListCtrl OverviewClass MembersHierarchy Chart

See Also   CListCtrl::GetHotCursor, CListCtrl::GetHotItem