Export (0) Print
Expand All
Expand Minimize

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 Platform SDK.

Example

See the example for CListCtrl::GetHoverTime.

See Also

CListCtrl Overview | Class Members | Hierarchy Chart | CListCtrl::GetHoverTime

Show:
© 2014 Microsoft