Solved

Can Access 2000 intercept the mouse scroll wheel?

Posted on 2009-07-10
6
511 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
You need to know the location of the Office templates folder, so that when you create new templates, they are saved to that location, and thus are available for selection when creating new documents.  The steps to find the Templates folder path are …
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

726 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