Solved

Can Access 2000 intercept the mouse scroll wheel?

Posted on 2009-07-10
6
514 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
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

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

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.
The Windows Phone Theme Colours is a tight, powerful, and well balanced palette. This tiny Access application makes it a snap to select and pick a value. And it doubles as an intro to implementing WithEvents, one of Access' hidden gems.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
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 …

734 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