473,779 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mouse scrolling problem

ken
Hi,
I found in these forums that one solution to stop the mouse wheel
scrolling is:
http://support.microsoft.com/default...b;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
let me access the tabctrl or any of the records on the subform? I can't
type anything. I checked the properties and everything seems unlocked
and all the allow properties are set to yes...

Has anyone seen something like this before?

Thanks

Nov 13 '05 #1
2 4651
On 24 Jul 2005 14:43:21 -0700, "ken" <ge****@gmail.c om> wrote:
Hi,
I found in these forums that one solution to stop the mouse wheel
scrolling is:
http://support.microsoft.com/default...b;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
let me access the tabctrl or any of the records on the subform? I can't
type anything. I checked the properties and everything seems unlocked
and all the allow properties are set to yes...

Has anyone seen something like this before?

Thanks

Hi
I expect it is because the tab control (which in the old days used to be
an external control) is also subclassing the mouse.
I'm surprised that MS are encouraging users to use this sort of code!
David

Nov 13 '05 #2
That solution does not work with Subforms. If you scroll down to the
older solution on my MouseHook web page you will find a modified version
of the the KB code that works with multiple forms and subforms.
http://www.lebans.com/mousewheelonoff.htm

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"ken" <ge****@gmail.c om> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
Hi,
I found in these forums that one solution to stop the mouse wheel
scrolling is:
http://support.microsoft.com/default...b;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 let me access the tabctrl or any of the records on the subform? I can't type anything. I checked the properties and everything seems unlocked
and all the allow properties are set to yes...

Has anyone seen something like this before?

Thanks


Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3754
by: serge calderara | last post by:
Dear all, I would like to be able to use the mouse wheel button in my windows application to scroll my control data. The weel gets two function, when you rotate it and whne you press it. How to handle that 2 function and tell to my control to scroll up or down based on wheel function? Any one have use it already?
1
1850
by: ids | last post by:
I have my own website and i want to use a mouse effect. My problem is that i use frames and when i put the javascript in the index.html like this: <html> <head> <meta name="keywords" content="vacation"> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <title>Vacation</title>
0
2244
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
2259
by: Brad | last post by:
Hi, I am using Access 2000. I am trying to get the microsoft code to work for stopping the mouse wheel from scrolling records. It is the code from http://support.microsoft.com/default.aspx?scid=kb;en-us;278379 Title "ACC2000: How to Detect and Prevent the Mouse Wheel from Scrolling Through Records in a Form"
6
12146
by: GGerard | last post by:
Hello I have an Access 2000 form with the following properties: Record Source - Table1
5
4367
by: Bryan Masephol | last post by:
Hi All I got a datagrid and a ComboBox on a form. I populate the combobox with years for all the data avaiable. When the user chooses a year the datagrid is populated with the specific years information. Problem... when the users scrolls the datagrid with the mouse wheel it work for 2 wheel clicks and then for some reason the focus jumps to the combobox and the year is then changes there for causing the data to change and errors...
0
3167
by: 6tc1 | last post by:
Hi all, I've got a UserControl that contains a few PictureBox objects. If I click on outside of the Picture in the UserControl, the scrolling with the mouse button works - however, no amount of clicking on the PictureBox objects will get that scrolling working. However, after I click on outside of the PictureBox object, then click as many times as I like on the PictureBox the scrolling with the mouse wheel continues to work. I found...
19
5942
by: wmanzo | last post by:
I have a really professional conspiracy movie site and I use tons of layers and an external scroll bar assembly. I would like to put the various sections into MS Iframes and in order to clean up the page but I find that the iframes interfere with the getting the mouse coords from the screen which is essential in moving the scroll bar around. My test html is given below. With the iframe hidden the mouse coords are obtainable. With the...
0
1267
by: Feresca | last post by:
Hi every one! I'm making a program that is supposed to control the mouse cursor. So far I managed to simulate all mouse clicks and move the cursor, I used the (user32.dll), but now I need to simulate the scrolling of the mouse wheel scrolling. I found a few things close to but not really what I needed. Could some 1 tell me a simple way to achieve this goal? Please try to explain as well as u can cuz I'm no pro. thank you
0
9471
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10302
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
10071
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,...
1
7478
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
6723
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
5372
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4036
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
3631
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2867
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.