Solved

Can Access 2000 intercept the mouse scroll wheel?

Posted on 2009-07-10
6
509 Views
Last Modified: 2013-11-27
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.
0
Comment
Question by:DailyDilemma
  • 3
  • 2
6 Comments
 
LVL 75

Accepted Solution

by:
DatabaseMX (Joe Anderson - Microsoft MVP, Access and Data Platform) earned 250 total points
ID: 24825337
Well ... this is the de-facto standard for turning the mouse wheel *off* ... possible it could be tweaked for your needs - since it does 'hook' into the wheel:

http://www.lebans.com/mousewheelonoff.htm

mx
0
 
LVL 74

Assisted Solution

by:Jeffrey Coachman
Jeffrey Coachman earned 250 total points
ID: 24827345
<No Points wanted>

Yeah,
I'm not so sure about Access 2000 though.
I do know that Access versions 2003 and newer do have a "MouseWheel" event you can grab.

JeffCoachman
0
 
LVL 75
ID: 24827367
"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
0
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 24829086
;-)
0
 

Author Closing Comment

by:DailyDilemma
ID: 31602162
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.
0
 
LVL 75
ID: 24843152
"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
0

Featured Post

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…
In Microsoft Access, when working with VBA, learn some techniques for writing readable and easily maintained code.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question