This documentation is archived and is not being maintained.

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.

The previous hover time, in milliseconds.

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

See the example for CListCtrl::GetHoverTime.

Show: