TVM_SETSCROLLTIME message

Sets the maximum scroll time for the tree-view control. You can send this message explicitly or by using the TreeView_SetScrollTime macro.

Parameters

wParam

New maximum scroll time, in milliseconds.

lParam

Must be zero.

Return value

Returns the previous maximum scroll time, in milliseconds.

Remarks

The maximum scroll time is the longest amount of time that a scroll operation can take. Scrolling will be adjusted so that the scroll will take place within the maximum scroll time. A scroll operation may take less time than the maximum.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h

See also

TVM_GETSCROLLTIME