Contents Index Topic Contents | ||
Previous Topic: ListView_SetHotItem Next Topic: ListView_SetIconSpacing |
ListView_SetHoverTime
ListView_SetHoverTime( HWND hwndLV, DWORD dwHoverTime );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.
- Returns the previous hover time.
- hwndLV
- Handle to a list view control.
- dwHoverTime
- 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.
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.
Version 4.71
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.