Re: mouse wheel error
- Posted by Pete Stoner <stoner.pete at ?m?il.com> Jan 10, 2008
- 611 views
George Walters wrote: > I'm getting a type_check error lwheelPosn is 1.0583333 in fdoMouse() with > some mouse wheels but not others. Anyone know how to fix this? I'm using an > old version of win32lib (59.1) > Without looking at win32lib (and I don't have that version anyway) a quick fix would be to floor() the lwheelPosn on assignment to the variable (its currently assigning an atom value.). I would guess lwheelPosn is set as an integer which would be the type_check error. Or you could change lwheelPosn to an atom but I don't know if something else would then get upset with that value... PeteS