TreeView_SetScrollTime macro
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 hwndTV, UINT uMaxScrollTime );
Parameters
- hwndTV
-
Type: HWND
Handle to a tree-view control.
- uMaxScrollTime
-
Type: UINT
New maximum scroll time, in milliseconds. If this value is less than 100, it will be rounded up to 100.
Return value
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
|
Minimum supported client |
Windows Vista [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
See also
Show: