Re: OT-ish: New Keyboard (MEditor mousewheel)

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

Pete,

Dont make a big deal out of a little thing smile
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 smile

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"

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

Search



Quick Links

User menu

Not signed in.

Misc Menu