PyCWnd.GetScrollPos

int = GetScrollPos(nBar)

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

Parameters

nBar : int

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