Solved

Disabling Mouse Wheel in a Snapshot ActiveX

Posted on 2006-11-03
7
353 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

Introduction The Visual Basic for Applications (VBA) language is at the heart of every application that you write. It is your key to taking Access beyond the world of wizards into a world where anything is possible. This article introduces you to…
Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
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…

809 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