BOOL EnableScrollBar( int nSBFlags, UINT nArrowFlags = ESB_ENABLE_BOTH );
Return Value
Nonzero if the arrows are enabled or disabled as specified. Otherwise it is 0, which indicates that the arrows are already in the requested state or that an error occurred.
Parameters
nSBFlags
Specifies the scroll-bar type. Can have one of the following values:
nArrowFlags
Specifies whether the scroll-bar arrows are enabled or disabled and which arrows are enabled or disabled. Can have one of the following values:
Remarks
Enables or disables one or both arrows of a scroll bar.
CWnd Overview | Class Members | Hierarchy Chart
See Also CWnd::ShowScrollBar, CScrollBar::EnableScrollBar