DWORD GetHoverTime( ) const;
Return Value
Returns the delay, in milliseconds, which the mouse cursor must hover over an item before it is selected. If the return value is -1, then the hover time is the default hover time.
Remarks
This member function implements the behavior of the Win32 macro, ListView_GetHoverTime, as described in the Platform SDK.
Example
// The pointer to my list view control.
extern CListCtrl* pmyListCtrl;
// Double the hover time, if possible.
DWORD dwTime = pmyListCtrl->GetHoverTime();
if (dwTime != -1)
pmyListCtrl->SetHoverTime(2*dwTime);