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)
> 

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

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

Search



Quick Links

User menu

Not signed in.

Misc Menu