Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 2.64 KB

nf-commctrl-listview_sethovertime.md

File metadata and controls

71 lines (58 loc) · 2.64 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:commctrl.ListView_SetHoverTime
ListView_SetHoverTime macro (commctrl.h)
Sets the amount of time that the mouse cursor must hover over an item before it is selected. You can use this macro or send the LVM_SETHOVERTIME message explicitly.
ListView_SetHoverTime
ListView_SetHoverTime macro [Windows Controls]
_win32_ListView_SetHoverTime
_win32_ListView_SetHoverTime_cpp
commctrl/ListView_SetHoverTime
controls.ListView_SetHoverTime
controls._win32_ListView_SetHoverTime
controls\ListView_SetHoverTime.htm
Controls
VS|Controls|~\controls\listview\macros\listview_sethovertime.htm
12/05/2018
ListView_SetHoverTime, ListView_SetHoverTime macro [Windows Controls], _win32_ListView_SetHoverTime, _win32_ListView_SetHoverTime_cpp, commctrl/ListView_SetHoverTime, controls.ListView_SetHoverTime, controls._win32_ListView_SetHoverTime
commctrl.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
19H1
ListView_SetHoverTime
commctrl/ListView_SetHoverTime
c++
APIRef
kbSyntax
HeaderDef
Commctrl.h
ListView_SetHoverTime

ListView_SetHoverTime macro

-description

Sets the amount of time that the mouse cursor must hover over an item before it is selected. You can use this macro or send the LVM_SETHOVERTIME message explicitly.

-parameters

-param hwndLV

Type: HWND

A handle to a list-view control.

-param dwHoverTimeMs

Type: DWORD

The new amount of time, in milliseconds, that the mouse cursor must hover over an item before it is selected. If this value is (DWORD)-1, then the hover time is set to the default hover time.

-remarks

The hover time only affects list-view controls that have the LVS_EX_TRACKSELECT, LVS_EX_ONECLICKACTIVATE, or LVS_EX_TWOCLICKACTIVATE extended list-view style.