Solved

Disabling Mouse Wheel in a Snapshot ActiveX

Posted on 2006-11-03
7
355 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
[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
  • 2
  • 2
7 Comments
 
LVL 85
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 85

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
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…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

688 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