CWnd::ShowScrollBar

void ShowScrollBar( UINT nBar, BOOL bShow = TRUE );

Parameters

nBar

Specifies whether the scroll bar is a control or part of a window’s nonclient area. If it is part of the nonclient area, nBar also indicates whether the scroll bar is positioned horizontally, vertically, or both. It must be one of the following:

bShow

Specifies whether Windows shows or hides the scroll bar. If this parameter is TRUE, the scroll bar is shown; otherwise the scroll bar is hidden.

Remarks

Shows or hides a scroll bar.

An application should not call ShowScrollBar to hide a scroll bar while processing a scroll-bar notification message.

CWnd OverviewClass MembersHierarchy Chart

See Also   ::ShowScrollBar, CScrollBar::ShowScrollBar