Solved

Disabling Mouse Wheel in a Snapshot ActiveX

Posted on 2006-11-03
7
346 Views
Last Modified: 2012-08-13
Is this possible ?

I'm using the famous MouseHook.dll and it works flawlessly in all my application but the damn snapshot objects. When the focus isn't in the snapshot, the mouse wheel doesn't work but as soon as the focus is in it, the mouse wheel starts to work again. Any way to get around this ?

Thanks
0
Comment
Question by:ee can
  • 2
  • 2
7 Comments
 
LVL 84
ID: 17867271
Do you mean that the mouse won't work at all if you're viewing a snapshot? Even in other applications? So the only way to make your mouse work it so set the focus in the snapshot?
0
 

Author Comment

by:ee can
ID: 17867340
No I'm saying that I want to disable the mouse wheel in the snapshot ! Even when using the MouseHook.dll, the mouse wheel works in the snpashot activex (once it has received the focus).
0
 

Author Comment

by:ee can
ID: 17914443
Nobody knows ?!
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 250 total points
ID: 18052084
motabobo,

I'm guessing you tried putting the code to disable the mouse wheel on the Gotfocus or OnEnter event of the snaphot Activex control, and it did not work?

From what I know about the MouseWheel utility, it works on Forms and sub forms, not Activex controls.

jeffc
0
 
LVL 84

Assisted Solution

by:Scott McDaniel (Microsoft Access MVP - EE MVE )
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 250 total points
ID: 18052672
sorry to be so late returning to this question, got lost in the pile.

The snapshot viewer is entirely separate from Access ... in fact, you don't even need Access installed on a machine to successfully load and run the Snapshot viewer. An Activex control runs outside of Access and therefore any code you're running in Access has no bearing on the control. I'd be surprised if code you run in Access would affect an Activex in this manner.
0

Featured Post

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

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
In Debugging – Part 1, you learned the basics of the debugging process. You learned how to avoid bugs, as well as how to utilize the Immediate window in the debugging process. This article takes things to the next level by showing you how you can us…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

746 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

12 Experts available now in Live!

Get 1:1 Help Now