Re: mouse wheel error

new topic     » goto parent     » topic index » view thread      » older message » newer message

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)
> 
> This will blow up any program if the wheel is moved...a real serious problem
> on this customer who has a lot of these mice or mouses. The're Microsoft model
> 1058..
> a wireless version.

Consider upgrading to v0.70.3 (or .4 if you wait for a couple weeks).
The fix is to change the line
lWheelPosn /= 120
to
lWheelPosn = floor(lWheelPosn/120)
in fDoMouse(). The problem is still there in v0.60.6.

CChris

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu