I have a form with a subform, both are single forms (default view), and are used to keep track of Non-Conformance Reports (manufacturing). The main form keeps track of the problem and the subform keeps track of each time it happened.
Problem is i have tried to use the mousehook.dll found here
and when i use the On Open Event it will work on the main form, but not on the subform. Even if i use the subforms On Open Event not just the main forms On Open Event. I also tried using the global usage (blRet = MouseWheelOFF(True)) and it still doesnt stop it on the subform.
I have also tried the M$ way here at
I used the Visual Basic ActiveX DLL way and it worked the same as the mousehook.dll, only on the main form and not the subform.
Is there a way to get either of these to work on the subform or another way to prevent record scrolling with the mouse wheel. Id prefer to use the mousehook.dll as it just needs to be in the same folder and more likely to work on PCs other than my own.
Problem is i have tried to use the mousehook.dll found here
and when i use the On Open Event it will work on the main form, but not on the subform. Even if i use the subforms On Open Event not just the main forms On Open Event. I also tried using the global usage (blRet = MouseWheelOFF(True)) and it still doesnt stop it on the subform.
I have also tried the M$ way here at
I used the Visual Basic ActiveX DLL way and it worked the same as the mousehook.dll, only on the main form and not the subform.
Is there a way to get either of these to work on the subform or another way to prevent record scrolling with the mouse wheel. Id prefer to use the mousehook.dll as it just needs to be in the same folder and more likely to work on PCs other than my own.