I'm trying to use Mr Lebans' MouseHook to turn the wheel on and off. I've
entered the code (Dim blRet as Boolean; blRet = MouseWheelOFF) in the form
load property, and the code to turn it on in the form close property.
But it's not working.
Am I missing something? I've tried both the main form and subform
properties. I'm using Access 2002.
Thanks for the help!
mike
Douglas J Steele - 20 Oct 2005 13:03 GMT
Does it work in the sample database that comes with it?

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> I'm trying to use Mr Lebans' MouseHook to turn the wheel on and off. I've
> entered the code (Dim blRet as Boolean; blRet = MouseWheelOFF) in the form
[quoted text clipped - 8 lines]
>
> mike
Jabutron - 26 Oct 2005 12:28 GMT
Yes. Merely forgot the modMouseHook code.
Thanks!
> Does it work in the sample database that comes with it?
>
[quoted text clipped - 10 lines]
> >
> > mike
Jabutron - 20 Oct 2005 13:06 GMT
Never mind. Just found the solution in a different post.
> I'm trying to use Mr Lebans' MouseHook to turn the wheel on and off. I've
> entered the code (Dim blRet as Boolean; blRet = MouseWheelOFF) in the form
[quoted text clipped - 8 lines]
>
> mike
BruceM - 20 Oct 2005 13:43 GMT
It may be helpful to others if you describe what you found.
> Never mind. Just found the solution in a different post.
>
[quoted text clipped - 12 lines]
>>
>> mike
Jabutron - 26 Oct 2005 12:28 GMT
Sure. It turns out I hadn't included the modMouseHook code in my modules.
Once I added this, it worked fine. Although I only found this out by
searching the forum; nothing was mentioned on Mr Leban's instruction page
about the mod code. Maybe a mention could be added for future users?
> It may be helpful to others if you describe what you found.
>
[quoted text clipped - 14 lines]
> >>
> >> mike