PyCWnd.ShowScrollBar

ShowScrollBar(nBar, bShow)

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

Parameters

nBar : int

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 win32con.SB_BOTH, win32con.SB_HORZ or win32con.SB_VERT.

bShow=1 : int

Indicates if the scroll bar should be shown or hidden.

MFC References

CWnd::ShowScrollBar