473,396 Members | 1,998 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Disabling mouse wheel in a subform

I fished through previous posts and found this link to microsoft's site for the code and steps to disable the mousewheel from scrolling through records:

http://support.microsoft.com/defaul...kb;en-us;278379

It worked for my main form (Creator) with no problems. I copied the 3rd section of code (please refer to link) which is form-specific to the subform (Reports). When i open the subform (Reports) on its own, the msgbox saying you can't use the mouse wheel pops up, and i can use my navigation buttons to scroll through records. However, when i access these navigation buttons when i open my main form (Creator), the buttons on the subform (Reports) do not work.

Any ideas? Thanks in advance.
Jan 31 '08 #1
1 2981
MMcCarthy
14,534 Expert Mod 8TB
I usually use Stephen Lebans mousehook.dll rather than microsofts fix. I find it very effective.
Feb 5 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jack | last post by:
Hi all, I searched the archives and found everyone happy with Stephen's MouseWheel On/Off code except for those with subforms. Stephen's page indicates that he has added code to handle subforms...
0
by: Jack | last post by:
Gday everyone, I'm dearly hoping Stephen Lebans is going to update his masterpeice to stop the mouse wheel scrolling to work on subforms *he has indicated this to me but of course beggers can't...
1
by: Rob | last post by:
I'm creating a database that I am using as a test taking program and I would like the user to only be able to navigate records on a form going forward. I was wondering if anyone knew of a way to do...
1
by: Marcin | last post by:
Im using MS Access 2000. i have a main form and ona subform that is scrolled vertically. unfortunately i use mouse scroll to scroll this subform. I appreciate your help
2
by: ken | last post by:
Hi, I found in these forums that one solution to stop the mouse wheel scrolling is: http://support.microsoft.com/default.aspx?scid=kb;en-us;278379 I have a main form on which there is a...
1
by: Fatima | last post by:
Hi Group, I've a database that has a form & a subform in it I don't want the user to move through records using the mouse wheel I did stop it on the main from using Microsoft solution :...
6
by: Roger Uribe | last post by:
There are references to using the wndproc form sub to trap and swallow the mousewheeel events - but they don't get there when a combobox (or many other controls) has the focus.. Yet the MSDN does...
7
by: Martijn Mulder | last post by:
When the mouse is over a picture, the user can grow or shrink it by rolling the central mouse wheel. What behavior is typical when the user rolls the wheel away. Will the picture grow or shrink...
14
by: effendi | last post by:
Is it possible for me to disable the wheel scroll in a mouse when user click on a drop-down list? Thanks
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.