That particular solution does not handle multiple forms or Subforms. A
modifed version of this code that does handle both of these issues is
available on my Web site. Scroll down on the page to the older ActiveX
MouseWHeel solutions.
http://www.lebans.com/mousewheelonoff.htm
For the two issues previously mentioned, for Distribution/Registration
issues, and most importantly for ease of use, I wrote the MouseWHeelHook
solution in the form of a standard Windows DLL in Visual C++. It has
been widely tested and in use by thousands of users every day.
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Sven Daems" <(E-Mail Removed)> wrote in message
news:27DBC97C-86F6-4340-BC6A-(E-Mail Removed)...
> Have you checked out
> http://support.microsoft.com/default...;en-us;308636?
>
> "Venner" wrote:
>
> > Hello:
> >
> > I program in both Access 2000 and 2003 and I was creating a form and
I would
> > like to find a way to disable the Mouse Scroll. I have set the
forms to not
> > diplay the scroll bars or the Navigation. I have coded command
buttons to
> > give the user the ability to move from one record to the next.
However, I
> > noticed that the scroll button when used acts like a scroll moving
the
> > records up and down. I would like to know how I can allow the form
to either
> > allow or not allow the user to use the mouse scroll pertaining to
the form
> > they use. I have heard of MouseWheel on/off but I would like to know
if there
> > is something that Microsoft uses to do this. I would rather not use
a 3rd
> > party - I would perfer using a solution that Microsoft would provide
instead.
> > I would prefer a coding above all to use in the background like VBA
or VB.
> >
> > I thank you in advance for your time,
> >
> > Venner