By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,677 Members | 1,070 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,677 IT Pros & Developers. It's quick & easy.

How can i disable mouse scroll wheel in access2003?

P: 23
How can i disable mouse scroll wheel in access2003?
Nov 19 '13 #1
Share this Question
Share on Google+
3 Replies

P: 8
I hope you can say you have already googled for this little snipit but I found this on the first try. Give it a shot and see what happens.

Expand|Select|Wrap|Line Numbers
  1. Private Sub Form_Open(Cancel As Integer)
  2.      Static MouseHook As Object
  3.      Set MouseHook = NewMouseHook(Me)
  4. End Sub
Nov 19 '13 #2

Expert Mod 5K+
P: 5,397
That is code from and article that actually requires a much more complex SubClass to be written and will not stand by itself:A new method for disabling the Mouse Scroll Wheel in Access forms

You will find that this is not an easy thing to do.
Can you explain why you need to do this?
Nov 19 '13 #3

Expert 5K+
P: 8,634
As indicated by zmbd, you can Enable/Disable Mouse Scroll Wheel but it involves several API Calls as well as an external *.DLL to do so. This is the Method that I use occassionally.
Nov 19 '13 #4

Post your reply

Sign in to post your reply or Sign up for a free account.