473,652 Members | 2,965 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disabling mouse wheel in a subform

6 New Member
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.microso ft.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 3003
MMcCarthy
14,534 Recognized Expert Moderator MVP
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
2995
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 ("Bug Fix for SubForms with ScrollBars. Bug fix for SubForms without visible ScrollBars.") - BUT I still can't get it to work on my app with my subforms. I'm using Access 2000, It works fine on the main forms but not on the
0
2239
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 be choosers here so I have no idea when this would be done*. I'm just wondering if anyone has gotten around the problem some other way? --Original Thread---
1
1601
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 that? Doing away with the navigation buttons is easy enough but I am also wanting to do away with the mouse wheel function. Any help you've got would be great, I've found almost no documentation for mouse wheel functions. Rob
1
3098
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
4646
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 tabctrl. One of the tab pages contains a subform with another tabctrl with subforms. Anyhow I use the code from microsoft(with the dll file) with the main form and that works fine. When I use it with the first subform it won't
1
4940
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 : http://support.microsoft.com/?kbid=278379 and it works great but when i apply it to the subform the subform stop responding & i can't select any field on it I need a solution for it without any .DLL fiels
6
5015
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 suggest this is a way to stop the mousewheel scrolling a combobox anyone know the REAL answer??? Thanks Roger
7
2983
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 then?
14
13793
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
8811
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8470
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8590
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5620
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2707
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.