Link to home
Start Free TrialLog in
Avatar of DailyDilemma
DailyDilemma

asked on

Can Access 2000 intercept the mouse scroll wheel?

I've started using flexgrid in my access application because it gives my users the formatting control they want. Now I'm stuck trying to get it to scroll with the mouse wheel.

I've seen countless examples on the net for VB6 and have tried all of them to no avail. VBA/Access seems to be just different enough that none of the code examples apply.

Has anyone ever got this to work? All I would need is something that could hook the wheel and fire an event when it moves up or down.
ASKER CERTIFIED SOLUTION
Avatar of DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
DatabaseMX (Joe Anderson - Former Microsoft Access MVP)
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
"do have a "MouseWheel" event you can grab."

What was left out of that event's implementation was ... a Cancel argument!  Too bad. Although, guess we are wanting to do the opposite here.

mx
Avatar of DailyDilemma
DailyDilemma

ASKER

Thanks for the feedback, just wanted to make sure there wasn't an easy way to do it before I gave up on it. Maybe I'll dig into it a little more in a future project.
"Author Comments:
Thanks for the feedback, just wanted to make sure there wasn't an easy way to do it before I gave up on it. Maybe I'll dig into it a little more in a future project."

ok ... you are welcome.

mx