Thanks for this finding. It seems like problem in Pharo itself, so I reposted
this problem to Pharo-users mailing list.
http://forum.world.st/Mouse-wheel-scrolling-not-working-right-on-Windows-td…
Jan
akevalion wrote
I checked this and I see that there is an error with:
HandMorph>>#generateKeyboardEvent:
in this piece of code:
(type = #keystroke and: [(buttons anyMask: 16)
and: [*charCode *= 30 or: [*charCode *= 31]]])
ifTrue: [^MouseWheelEvent new
setType: #mouseWheel
position: lastMouseEvent cursorPoint
direction: (charCode = 30 ifTrue: [#up] ifFalse: [#down])
buttons: buttons
hand: self
stamp: stamp].
The value for *charCode* is 0, that is the reason why MouseWheelEvent does
not work in Roassal2 in Windows.
Instead of MouseWheelEvent the KeyboardEvent is used.
*Note:* *keyvalue* has the value 31.
Maybe there is and error with Sensor class in Windows
Cheers,
Milton
_______________________________________________
Moose-dev mailing list
Moose-dev@.unibe
--
View this message in context:
http://forum.world.st/Roassal2-RTZoomableView-not-working-on-Windows-tp4786…
Sent from the Moose mailing list archive at
Nabble.com.