PyCWnd.SetScrollPos

int = SetScrollPos(nBar, nPos , redraw )

Sets the current position of the scroll box of a scroll bar.

Parameters

nBar : int

The scroll bar to set. Can be one of win32con.SB_VERT or win32con.SB_HORZ

nPos : int

The new position

redraw=1 : int

A flag indicating if the scrollbar should be redrawn.