CListCtrl::SetHoverTime
TOC
Collapse the table of content
Expand the table of content
The document is archived and information here might be outdated

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:
© 2016 Microsoft