Compartilhar via


CScrollBar::ShowScrollBar

Shows or hides a scroll bar.

void ShowScrollBar( 
   BOOL bShow = TRUE  
);

Parameters

  • bShow
    Specifies whether the scroll bar is shown or hidden. If this parameter is TRUE, the scroll bar is shown; otherwise it is hidden.

Remarks

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

Example

See the example for CScrollBar::Create.

Requirements

Header: afxwin.h

See Also

Reference

CScrollBar Class

Hierarchy Chart

CScrollBar::GetScrollPos

CScrollBar::GetScrollRange

CWnd::ScrollWindow

CScrollBar::SetScrollPos

CScrollBar::SetScrollRange