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

How to make Class properties available to entire mdb?

P: n/a
I have used the code from KB article 278379 "How to Detect and Prevent
the Mouse Wheel from Scrolling Through Records in a Form", and it
works fine.

The code involves creating a new module, a new class module, and
adding code to a particular form where the mouse wheel scrolling is to
be disabled.

My question is this: the code is aimed at disabling the mouse scroll
wheel in just one form. I would like to disable the scroll wheel in
the entire mdb. I tried copying some code to a form that stays open
the entire time the mdb is open, but to no avail. Any suggestions?

THANKS,
Tammy
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
You will have to subclass the WIndow behind each open Form, period.
I produced a standard WIndows DLL that uses a Hook in order to get
around this issue of one function call to disable the Mouse for all
Forms/Windows. See:
http://www.lebans.com/mousewheelonoff.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"TammyZ" <tz****@1st.net> wrote in message
news:49**************************@posting.google.c om...
I have used the code from KB article 278379 "How to Detect and Prevent
the Mouse Wheel from Scrolling Through Records in a Form", and it
works fine.

The code involves creating a new module, a new class module, and
adding code to a particular form where the mouse wheel scrolling is to
be disabled.

My question is this: the code is aimed at disabling the mouse scroll
wheel in just one form. I would like to disable the scroll wheel in
the entire mdb. I tried copying some code to a form that stays open
the entire time the mdb is open, but to no avail. Any suggestions?

THANKS,
Tammy


Nov 12 '05 #2

P: n/a
Stephen,

Thanks for the guidance - I will try your code next week when I return
to the client site.

Thanks so much,
Tammy

"Stephen Lebans" <Fo****************************************@linval id.com> wrote in message news:<hx*********************@ursa-nb00s0.nbnet.nb.ca>...
You will have to subclass the WIndow behind each open Form, period.
I produced a standard WIndows DLL that uses a Hook in order to get
around this issue of one function call to disable the Mouse for all
Forms/Windows. See:
http://www.lebans.com/mousewheelonoff.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"TammyZ" <tz****@1st.net> wrote in message
news:49**************************@posting.google.c om...
I have used the code from KB article 278379 "How to Detect and Prevent
the Mouse Wheel from Scrolling Through Records in a Form", and it
works fine.

The code involves creating a new module, a new class module, and
adding code to a particular form where the mouse wheel scrolling is to
be disabled.

My question is this: the code is aimed at disabling the mouse scroll
wheel in just one form. I would like to disable the scroll wheel in
the entire mdb. I tried copying some code to a form that stays open
the entire time the mdb is open, but to no avail. Any suggestions?

THANKS,
Tammy

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.