TreeView_SetScrollTimeTreeView_SetScrollTime*
*Contents  *Index  *Topic Contents
*Previous Topic: TreeView_SetItemHeight
*Next Topic: TreeView_SetTextColor

TreeView_SetScrollTime


UINT TreeView_SetScrollTime(
    HWND hwndTV,
    UINT uMaxScrollTime
);

Sets the maximum scroll time for the tree view control. You can use this macro or send the TVM_SETSCROLLTIME message explicitly.

hwndTV
Handle to a tree view control.
uMaxScrollTime
New maximum scroll time, in milliseconds. If this value is less than 100, it will be rounded up to 100.

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.

See also TVM_GETSCROLLTIME


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.