[python-win32] hook to obtain WM_GESTURE
Tim Roberts
timr at probo.com
Fri May 10 02:59:14 CEST 2013
John Grant wrote:
>
> I was not sure if I could initialize a Python integer with a hex like
> I can in C. The explicit "cast" was to make sure the default type was
> not float or unsigned.
Python does not have unsigned types. Numbers are either integers
(infinitely large) or floats.
> I am seeing an exception that only shows up for some mouse events,
> sometimes. I can usually reproduce it for a middle-mouse click. The
> error message is difficult to read as it streams by on the console
> window (shell), but I've seen a couple things that make me think one
> of my callbacks is prototyped incorrectly. These are the things I've
> been able to read while the output quickly streams by.
> "long int too long"
> "callback .... in line XXX of ctypes.c"
Hmmm. Not sure I can explain that.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the python-win32
mailing list