473,397 Members | 1,961 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,397 software developers and data experts.

Mouse wheel

Hi,

Can someone lead me to info on detecting and using the mouse button? All I
can find in the MSDN docs is that you use e.Delta, but it doesn't explain in
how. I tried detecting the roll of the wheel in the frm.MouseDown, but it
didn't detect it.

Thank for the help.
Nov 20 '05 #1
13 2769
"Nathan" <nk*********************@softhome.net> schrieb

Can someone lead me to info on detecting and using the mouse button?
I guess, you mean the mouse wheel, not mouse button?
All I can find in the MSDN docs is that you use e.Delta, but it
doesn't explain in how.
e.delta returns the amount the wheel has been turned. You get 'e' in
OnMouseWheel or the MouseWheel event.
I tried detecting the roll of the wheel in
the frm.MouseDown, but it didn't detect it.


Mousedown is raised when a mouse button gets pressed, not when the wheel has
been turned.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #2
Ok, maybe it's because it's too early in the morning, or maybe it's because
VS 2002 doesn't have a MouseWheel event, but I can't find it anywhere. I've
even searched for MouseWheel and OnMouseWheel in the help and came up with
nothing.
"Armin Zingler" <az*******@freenet.de> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
"Nathan" <nk*********************@softhome.net> schrieb

Can someone lead me to info on detecting and using the mouse button?
I guess, you mean the mouse wheel, not mouse button?
All I can find in the MSDN docs is that you use e.Delta, but it
doesn't explain in how.


e.delta returns the amount the wheel has been turned. You get 'e' in
OnMouseWheel or the MouseWheel event.
I tried detecting the roll of the wheel in
the frm.MouseDown, but it didn't detect it.


Mousedown is raised when a mouse button gets pressed, not when the wheel

has been turned.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #3
Cor
Hi Nathan,

http://msdn.microsoft.com/library/de...wheeltopic.asp

I hope this helps?

Cor
Ok, maybe it's because it's too early in the morning, or maybe it's because VS 2002 doesn't have a MouseWheel event, but I can't find it anywhere. I've even searched for MouseWheel and OnMouseWheel in the help and came up with
nothing.

Nov 20 '05 #4
* "Nathan" <nk*********************@softhome.net> scripsit:
Ok, maybe it's because it's too early in the morning, or maybe it's because
VS 2002 doesn't have a MouseWheel event, but I can't find it anywhere. I've
even searched for MouseWheel and OnMouseWheel in the help and came up with
nothing.


Mhm... I can see it inside the IDE and the documentation and I remember
I used it with VS.NET 2002 too. Are you sure advanced members are
shown?

<http://www.google.de/groups?selm=usSXSNgzDHA.3216%40TK2MSFTNGP11.phx.gb l>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #5
"Nathan" <nk*********************@softhome.net> schrieb
Ok, maybe it's because it's too early in the morning, or maybe it's
because VS 2002 doesn't have a MouseWheel event, but I can't find it
anywhere. I've even searched for MouseWheel and OnMouseWheel in the
help and came up with nothing.


Right, in VB 2002 a Form doesn't have a mousewheel event, but you can
override OnMouseWheel. Override means in a derived class.
--
Armin

http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html

Nov 20 '05 #6
I found it. I was looking for MouseWheel by selecting Base Class Events in
the top left drop-down box, then looking for MouseWheel in the other. But I
typed out the event handler and it was there; now I have it working. Thanks
for the help.

Nathan
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bu************@ID-208219.news.uni-berlin.de...
* "Nathan" <nk*********************@softhome.net> scripsit:
Ok, maybe it's because it's too early in the morning, or maybe it's because VS 2002 doesn't have a MouseWheel event, but I can't find it anywhere. I've even searched for MouseWheel and OnMouseWheel in the help and came up with nothing.


Mhm... I can see it inside the IDE and the documentation and I remember
I used it with VS.NET 2002 too. Are you sure advanced members are
shown?

<http://www.google.de/groups?selm=usSXSNgzDHA.3216%40TK2MSFTNGP11.phx.gb l>

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #7
My mouse wheel does not work in VB6 Pro Edit Window, it works every where else, anyone know why?
Nov 20 '05 #8
My mouse wheel does not work in VB6 Pro Edit Window, it works every where else, anyone know why?
Nov 20 '05 #9
There is a fix for the mouse wheel problem in VB6 at :- http://www.joebott.com/vb6scrollwheel.htm
Nov 20 '05 #10
There is a fix for the mouse wheel problem in VB6 at :- http://www.joebott.com/vb6scrollwheel.htm
Nov 20 '05 #11
My mouse wheel does not work in VB6 Pro Edit Window, it works every where else, anyone know why?
Nov 20 '05 #12
There is a fix for the mouse wheel problem in VB6 at :- http://www.joebott.com/vb6scrollwheel.htm
Nov 20 '05 #13
There is a fix for the mouse wheel problem in VB6 at :- http://www.joebott.com/vb6scrollwheel.htm
Nov 20 '05 #14

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

Similar topics

6
by: AccessWhiz | last post by:
I have been trying desperately for the past few days to figure out why the MouseWheel solution that I retrieved from the Lebans website won't work. The access database included with the solution...
1
by: jv | last post by:
I have quite a few of continuous form and subform where I do allow scroll bars. I run into problems with the mouse wheel whenever the data on the form does not take up the whole page. In this...
6
by: Susan Bricker | last post by:
Hi. Does anyone have a clue why my mouse wheel stopped working while I was working on the VB behind a form in MS/Access? I would swear that the mouse wheel was working a short time ago. I've...
13
by: James Bond | last post by:
Hello. My 80+ year old father has recently decided to get his first computer. Due to his age (and I suspect lack of playing pong as a child like I did) he lacks the manual dexterity to use a mouse...
4
by: ML | last post by:
I am trying to use the mouse wheel event on a numeric input box to allow the use to scroll to inc/dec the value by 1. The issue I am having is that the delta value returned seems to be off. From...
7
by: tommaso.gastaldi | last post by:
This is a curious question. I'd like to know your opinion. I am attaching a drawing resize to a mouse wheel event. Frankly, to me was most natural that, if I mouse wheel UP, the shape gets...
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...
3
by: killbill123 | last post by:
Hi, I want to count the mouse wheel rotations in javascript. I searched on google and only found that how to track delta -1 and +1 base on the up mouse wheel and down mouse wheel. I want how...
3
by: West55 | last post by:
I have an Access 2003 database I developed for one of my departments. I have been using Stephen Lebans' MouseWheelOnOff system to turn off the Mouse Wheel without any issues since I developed the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
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,...
0
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...

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.