CTreeCtrl::SetAutoscrollInfo
Sets the autoscroll rate of the current tree-view control.
BOOL SetAutoscrollInfo(
UINT uPixelsPerSec,
UINT uUpdateTime
);
Параметры
Parameter |
Description |
---|---|
[in] uPixelsPerSec |
The number of pixels per second to scroll. |
[in] uUpdateTime |
The time interval between updates of the control. |
Возвращаемое значение
Always returns true.
Заметки
The autoscroll parameters are used to scroll into view an item that is currently not visible. The tree-view control must have the TVS_EX_AUTOHSCROLL extended style, which is described in Tree-View Control Extended Styles.
This method sends the TVM_SETAUTOSCROLLINFO message, which is described in the Windows SDK.
Требования
Header: afxcmn.h
This method is supported in Windows XP and later.
Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.