473,499 Members | 1,862 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Disable Mousewheel from Scrolling ComboBox

Hi,

How can I prevent the mousewheel from scrolling through the combobox items
when it has the focus?
Thanks,
--
GrandpaB
Nov 23 '05 #1
2 3394
use a message filter

implement Imessagefilter interface and cancel the event

regards

Michel Posseth [MCP]

"GrandpaB" <Gr******@discussons.microsoft.com> wrote in message
news:97**********************************@microsof t.com...
Hi,

How can I prevent the mousewheel from scrolling through the combobox items
when it has the focus?
Thanks,
--
GrandpaB

Nov 23 '05 #2
Michel,

Thanks for your assistance. I never knew that an Imessagefilter existed.
I'll do a little research and attempt to cancel the Mousewheel.
Thanks again,
--
GrandpaB
"m.posseth" wrote:
use a message filter

implement Imessagefilter interface and cancel the event

regards

Michel Posseth [MCP]

"GrandpaB" <Gr******@discussons.microsoft.com> wrote in message
news:97**********************************@microsof t.com...
Hi,

How can I prevent the mousewheel from scrolling through the combobox items
when it has the focus?
Thanks,
--
GrandpaB


Nov 23 '05 #3

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

Similar topics

4
19564
by: mr_burns | last post by:
Hi, Is it possible to disble horizontal scrolling using CSS? I want to try and use two backgrounds, one tiling vertically and part of the body background, which will not force scrolling, but one...
2
2983
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...
11
1639
by: Billie Dee | last post by:
I am currently using (and loving) Lebans MouseWheelOnOff (v22). My problem is that if the user clicks an option box suddenly the mousewheel allows scrolling on the form again. This is causing the...
6
12114
by: GGerard | last post by:
Hello I have an Access 2000 form with the following properties: Record Source - Table1
8
2514
by: rodchar | last post by:
hey all, can someone please tell me if you can disable the scroll button for a dropdownlist. For example, when you select an item in a dropdownlist and it still has focus and you accidently hit...
6
5006
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...
5
2681
by: Dennis | last post by:
I have a form with buttons and a custom control I wrote showing a list of items. I would like to scroll the list when the mouse is over the control and the mouse wheel is moved but yet don't want...
1
2137
by: bob | last post by:
The help system says you can "get" (not set) the number of lines the mouse moves upon one "notch" of the wheel. The value for my system is 4. How do I force it to do only 1. Give me the EASY way,...
3
5948
by: j0rd4n | last post by:
I have a user control that needs to allow vertical scrolling but not horizontal scrolling. In the user control's resize event, I need to adjust the size of all the children controls. For this to...
0
7134
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
7012
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...
0
7180
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,...
1
6901
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
7392
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...
1
4920
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...
0
4605
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...
0
3101
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.