"Greg Ewing" <greg.ew...@canterbury.ac.nz> wrote in message 
news:4d7db564.8090...@canterbury.ac.nz...
> 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
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to