Hide

SftTree/DLL 7.5 - Tree Control

Display
Print

DisableNoScroll

Defines the scroll bar handling status.

C

BOOL WINAPI SftTree_GetDisableNoScroll(HWND hwndCtl);
void WINAPI SftTree_SetDisableNoScroll(HWND hwndCtl, BOOL fDisable);
BOOL WINAPI SftTreeSplit_GetDisableNoScroll(HWND hwndCtl);
void WINAPI SftTreeSplit_SetDisableNoScroll(HWND hwndCtl, BOOL fDisable);

C++

BOOL CSftTree::GetDisableNoScroll() const;
void CSftTree::SetDisableNoScroll(BOOL fDisable = TRUE);
BOOL CSftTreeSplit::GetDisableNoScroll() const;
void CSftTreeSplit::SetDisableNoScroll(BOOL fDisable = TRUE);

Parameters

hwndCtl

The window handle of the tree control.

fDisable

A value indicating the desired scroll bar status when scrolling is not possible. Set to TRUE to disable scroll bars, set to FALSE to hide scroll bars.

Returns

GetDisableNoScroll returns TRUE if the SFTTREESTYLE_DISABLENOSCROLL window style is set, otherwise FALSE is returned.

Comments

The GetDisableNoScroll and SetDisableNoScroll functions define the scroll bar handling status.

GetDisableNoScroll retrieves the SFTTREESTYLE_DISABLENOSCROLL window style.

SetDisableNoScroll manipulates the SFTTREESTYLE_DISABLENOSCROLL window style, which cannot be directly modified.

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