"Greg Ewing" <[email protected]> wrote in message
news:[email protected]...
> According to the pywin32 docs, PyCWnd.GetScrollInfo and
> PyCWnd.SetScrollInfo have the following signatures:
>
> int = GetScrollInfo(nBar, mask)
> int = SetScrollInfo(nBar, redraw)
>
> Surely these can't be right? Shouldn't there be a
> SCROLLINFO struct involved there somewhere?
>
> --
> Greg
Yep, the docs are wrong for these.
The second arg to SetScrollInfo is a tuple to be parsed into
the struct, and redraw is 3rd.
The args are correct for GetScrollInfo, but the
return value is a SCROLLINFO tuple, not an int.
Roger
_______________________________________________
python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32