Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

UseSmoothScroll

Defines whether smooth scrolling is used.

C

BOOL WINAPI SftTree_GetUseSmoothScroll(HWND hwndCtl);
void WINAPI SftTree_SetUseSmoothScroll(HWND hwndCtl, BOOL fSet);
BOOL WINAPI SftTreeSplit_GetUseSmoothScroll(HWND hwndCtl);
void WINAPI SftTreeSplit_SetUseSmoothScroll(HWND hwndCtl, BOOL fSet);

C++

BOOL CSftTree::GetUseSmoothScroll() const;
void CSftTree::SetUseSmoothScroll(BOOL fSet = TRUE);
BOOL CSftTreeSplit::GetUseSmoothScroll() const;
void CSftTreeSplit::SetUseSmoothScroll(BOOL fSet = TRUE);

Parameters

hwndCtl

The window handle of the tree control.

fSet

Set to TRUE to enable smooth scrolling, otherwise set to FALSE to disable.

Returns

GetUseSmoothScroll returns TRUE if smooth scrolling is used.

Comments

The GetUseSmoothScroll and SetUseSmoothScroll functions define whether smooth scrolling is used.

Smooth scrolling is only used if column headers are not shown (partial window scrolling using smooth scrolling is not possible).

See Also C/C++ API | Categories | Notifications