CScrollBar::EnableScrollBar

BOOL EnableScrollBar( UINT nArrowFlags = ESB_ENABLE_BOTH );

Return Value

Nonzero if the arrows are enabled or disabled as specified; otherwise 0, which indicates that the arrows are already in the requested state or that an error occurred.

Parameters

nArrowFlags

Specifies whether the scroll arrows are enabled or disabled and which arrows are enabled or disabled. This parameter can be one of the following values:

Remarks

Enables or disables one or both arrows of a scroll bar.

Example

See the example for CScrollBar::SetScrollRange.

CScrollBar OverviewClass MembersHierarchy Chart

See Also   CWnd::EnableScrollBar, ::EnableScrollBar