CWnd::EnableScrollBarCtrl

voidEnableScrollBarCtrl(intnBar**,BOOLbEnable=TRUE);**

Parameters

nBar

The scroll-bar identifier.

bEnable

Specifies whether the scroll bar is to be enabled or disabled.

Remarks

Call this member function to enable or disable the scroll bar for this window. If the window has a sibling scroll-bar control, that scroll bar is used; otherwise the window’s own scroll bar is used.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::GetScrollBarCtrl