Solved

Disabling Mouse Wheel in a Snapshot ActiveX

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

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

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.
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

696 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