CListCtrl::SetHoverTime

Sets the current hover time of a list view control.

DWORD SetHoverTime(
   DWORD dwHoverTime = (DWORD
)-1 
);

Parameters

  • dwHoverTime
    The new delay, in milliseconds, which the mouse cursor must hover over an item before it is selected. If the default value is passed, the time is set to the default hover time.

Return Value

The previous hover time, in milliseconds.

Remarks

This member function implements the behavior of the Win32 macro, ListView_SetHoverTime, as described in the Windows SDK.

Example

See the example for CListCtrl::GetHoverTime.

Requirements

Header: afxcmn.h

See Also

Reference

CListCtrl Class

Hierarchy Chart

CListCtrl::GetHoverTime

Other Resources

CListCtrl Members