Solved

Can Access 2000 intercept the mouse scroll wheel?

Posted on 2009-07-10
6
502 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 - Access MVP) 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now