D
Dr Steevil
I've set up the solution for stopping scroll wheel actions using the method
posted at this site
http://www.lebans.com/mousewheelonoff.htm
For some reason, it isn't working properly. So I figure it must be
something with the control I'm using. I have a form page that has a Web
Browser object on it. The web browser displays an online catalog page based
on the item listed in my form. I have a "Next" and "Previous" button that
obviously goes to the next and previous records and also updates the web
page. This all works great. The problem is when I use the mouse wheel to
scroll on the web page, it changes the record in the form. So I was
wondering if there is a way around that? Could it be that the Web Browser is
overriding the Mouse Hook?
I am using Access 2002, and my project is in Access 2002 format.
And just to clarify exactly what I've done,
1) Placed this code in my form's "On Load" action:
Private Sub Form_Load()
' Turn the MouseWheel Off
Dim blRet As Boolean
blRet = MouseWheelOFF
End Sub
2) Imported the modMouseHook into my modules
3) Copied the MouseHook.dll file into my .mdb file's folder
posted at this site
http://www.lebans.com/mousewheelonoff.htm
For some reason, it isn't working properly. So I figure it must be
something with the control I'm using. I have a form page that has a Web
Browser object on it. The web browser displays an online catalog page based
on the item listed in my form. I have a "Next" and "Previous" button that
obviously goes to the next and previous records and also updates the web
page. This all works great. The problem is when I use the mouse wheel to
scroll on the web page, it changes the record in the form. So I was
wondering if there is a way around that? Could it be that the Web Browser is
overriding the Mouse Hook?
I am using Access 2002, and my project is in Access 2002 format.
And just to clarify exactly what I've done,
1) Placed this code in my form's "On Load" action:
Private Sub Form_Load()
' Turn the MouseWheel Off
Dim blRet As Boolean
blRet = MouseWheelOFF
End Sub
2) Imported the modMouseHook into my modules
3) Copied the MouseHook.dll file into my .mdb file's folder