No scroll wheel (newbie stuff)?

Ken Norris (dialup) pixelbird at interisland.net
Wed Jan 29 12:50:01 EST 2003


**********
> Date: Tue, 28 Jan 2003 11:56:58 -0700 (MST)
> From: Scott Raney <raney at metacard.com>
> Subject: Re: No scroll wheel (newbie stuff)?

>>> Mouse wheels *do* work on Win32, MacOS, and Linux systems because
>>> there is OS API support for this hardware feature on these platforms.
>> ----------
>> One must be true and the other not. Which is which?
> 
> Apologies, my mistake.  That line should be:
> 
>>> Mouse wheels *do* work on Win32, MacOS X, and Linux systems because
----------
OK, got it. Thanks. Mac OS 8.x-9.x doesn not have native (API) mouswheel
support, but Win32, Mac OSX, and Linux systems do.

And there is a possible workaround. Jacque wrote:
----------
> However, I think you can add the capability yourself with a
> script. You'll need to trap rawKeyDown, check to see if the mousecontrol
> is a field, and if so, set its scroll appropriately. The keycode for
> scrolling up is 65309, for scrolling down it is 65308.

> This won't work if no keycodes are sent when the wheel is scrolled
> (which someone reported earlier) but I am pretty sure I had it working
> in OS 9. You'll have to do some tests.
----------
I guess I'll take a shot. It might be a challenge to make it work.

All the best,
Ken N.




More information about the use-livecode mailing list