Re: OT-ish: New Keyboard (MEditor mousewheel)
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Jul 04, 2004
- 499 views
On Sat, 03 Jul 2004 17:43:10 -0700, Al Getz <guest at RapidEuphoria.com> wrote: >Pete, > >Dont make a big deal out of a little thing >Interfacing the mouse wheel is one of the simplest possible >chores. > >Have your message map trap WM_MOUSEWHEEL and have the code >call your single line scroll routine in the direction >according to the direction you detect with the wparam >argument. > >If you wish to give your user a setting for the number of lines >to scroll, simply look that value up and scroll that many >lines. That has been in MEditor for well over a year, albeit bugridden. It was the driver, which I now have, hopefully I'll manage to fix this sometime this afternoon. Pete