Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Sets the maximum scroll time for the tree-view control. You can use this macro or send the TVM_SETSCROLLTIME message explicitly.
Syntax
UINT TreeView_SetScrollTime(
HWND hwnd,
UINT uTime
);
Parameters
hwnd
Type: HWND
Handle to a tree-view control.
uTime
Type: UINT
New maximum scroll time, in milliseconds. If this value is less than 100, it will be rounded up to 100.
Return value
Type: UINT
Returns the previous 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] |
Target Platform | Windows |
Header | commctrl.h |