Re: OT-ish: New Keyboard (MEditor mousewheel)
- Posted by Al Getz <Xaxo at aol.com> Jul 04, 2004
- 554 views
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. One of the easiest things you'll ever have to do I think on my editor i call KeyDown the number of times required. You may have to use a routine id of course. Probably wont even have to test it, but once done, pop it in the email and i'll run it the next day and let you know. Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"