We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


Sets the current hover time of a list view control.

DWORD SetHoverTime(
   DWORD dwHoverTime = (DWORD


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

See the example for CListCtrl::GetHoverTime.

Header: afxcmn.h