473,654 Members | 3,038 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

[off topic] mouse wheel

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?
Jun 25 '06 #1
7 2983
You can check the delta value of the mousewheel. +1 should indicate
growth (IMHO= zoom in).

Martijn Mulder wrote:
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?


Jun 25 '06 #2
Here's my take on it:

A user interface designer has to consider what the typical user thinks
should happen when rolling the mouse wheel forward or backwards.

For example, if the user thinks the mouse wheel moves her EYE closer to and
farther away from the image, then rolling the wheel forward zooms in.

If the user thinks that pushing forward on the mouse wheel moves the IMAGE
farther away from her eye (moving her finger, and thus the image, away from
her), then rolling the mouse wheel forward zooms out.

So it's all down to the user's mental model of the situation. Is she
manipulating the image, or moving her eye? A good user interface is one that
behaves in such a way that the behavior of the application does not conflict
with the user's mental model. So since it's difficult or impossible to find
out what your users' mental models are, and even if you could they wouldn't
all agree, there's just one good way to handle this.

And here it is:

Make the behavior a user-settable preference. For its default value, see if
you can find a consensus among the industry leaders in the same kind of
application you're developing. Look at Photoshop, Paint Shop Pro, etc. If
you can find a consensus, use that as the default setting. If you can't find
a consensus, ask as many as possible of real users of your application (not
just your programmer-testers) what they want to happen.

I'll go farther than that: some people might want the wheel to pan (and the
newest mice allow you to move the wheel left and right, as well as forward
and back). So you might consider letting the user specify in an options
dialog whether they want the wheel to zoom or pan. But if they want to pan,
there's the same mental model issue: are they moving the image left and
right, or the eye left and right? So they'd need to specify their preferred
directional behavior for both modes of operation.

All this is a lot of work, but at least in one small way your users will be
happier people when they're using your app.

Best regards,
Tom Dacon
Dacon Software Consulting

"Martijn Mulder" <i@m> wrote in message
news:44******** *************** @news.wanadoo.n l...
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?

Jun 25 '06 #3
Martijn Mulder wrote:
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?

Excellent question.
IMO when the user rolls the wheel "forward", the picture should grow.

:)

JB
Jun 25 '06 #4
From what I've seen normaly the mental model is that you are the one
moving not the picture unless you give the user the impression they are
grabbing the image (i.e. the hand tool to move things in paint shop
pro).

Would be interesting too look at why this is, is it conditioned because
this is how most software acts, because of scrollbars or just because
the user moves the mouse in the way they would like to move if the image
were real.

On Sun, 25 Jun 2006 15:53:10 +0200, "Martijn Mulder" <i@m> wrote:
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?

Jun 26 '06 #5

Chris Chilvers <ke****@dynafus .com> wrote:
From what I've seen normaly the mental model is that you are
the one moving not the picture [...]

Would be interesting too look at why this is, is it conditioned
because this is how most software acts, because of scrollbars
or just because the user moves the mouse in the way they
would like to move if the image were real.


I think Pacman is part of the reason...

In an everyday situation, you would typically move the
object. Say someone puts a photo on your desk and asks
you to take a closer look at some detail. Would you bend
over to get a closer look, or would you take up the photo
and hold it closer to your eye?

My feeling is, by far the most of us would lift the photo.
Perhaps we would later put it back on the desk and
bend over it using a magnifier, but that's because of
practical difficulties with light and keeping both the
photo and magnifier steady, not because bending feels
natural.

Say you spot a strange insect walking your desk. If
you're the curious kind, you'll bend over and watch,
but that's merely because you've been taught not to
touch such things. A toddler would not hesitate to
take it up and pull it apart in front of his/her eyes.

Now, in 3D games, it's an established convention that
you move your alter ego around by rolling/pushing/
pressing in whatever direction you want to go, though
this is the opposite of what you would do with your
hands if you were really crawling in a dusty tomb.

It's not because this is the "natural" way. It's a convention
inherited from Pacman where your avatar is more like an
object you move around.

As things are, with Counterstrike, Hitman and their likes
being the typical youngster's first exposure to computers,
this little twart is probably here to stay.
Jun 26 '06 #6

"Ole Nielsby" schreef in bericht
Chris Chilvers <ke****@dynafus .com> wrote:
From what I've seen normaly the mental model is that you are
the one moving not the picture [...]

Would be interesting too look at why this is, is it conditioned
because this is how most software acts, because of scrollbars
or just because the user moves the mouse in the way they
would like to move if the image were real.


I think Pacman is part of the reason...

In an everyday situation, you would typically move the
object. Say someone puts a photo on your desk and asks
you to take a closer look at some detail. Would you bend
over to get a closer look, or would you take up the photo
and hold it closer to your eye?

My feeling is, by far the most of us would lift the photo.
Perhaps we would later put it back on the desk and
bend over it using a magnifier, but that's because of
practical difficulties with light and keeping both the
photo and magnifier steady, not because bending feels
natural.

Say you spot a strange insect walking your desk. If
you're the curious kind, you'll bend over and watch,
but that's merely because you've been taught not to
touch such things. A toddler would not hesitate to
take it up and pull it apart in front of his/her eyes.

Now, in 3D games, it's an established convention that
you move your alter ego around by rolling/pushing/
pressing in whatever direction you want to go, though
this is the opposite of what you would do with your
hands if you were really crawling in a dusty tomb.

It's not because this is the "natural" way. It's a convention
inherited from Pacman where your avatar is more like an
object you move around.

As things are, with Counterstrike, Hitman and their likes
being the typical youngster's first exposure to computers,
this little twart is probably here to stay.

Thank you all. Your discussion helped me a lot. The question is what you
control with the mouse. If you control the picture and 'roll it away', it
will shrink. But if you control the user, the viewer. 'rolling away' means
bending forward and the picture will grow. When you read a document on-line
and you roll forward, you control the eyes of the reader, not the text. If
it was the text you rolled forward, or pushed up, you would go nearer to the
end. But it isn't, rolling forward takes you to the start of the document.
You control the eyes of the reader, not the position of the document. So I
implement the mouse wheel in a similair fashion when growing or shrinking a
picture. Rolling forward is bending over, the picture grows. Rolling
backwards is moving away, the picture shrinks.
Jun 27 '06 #7
Ole Nielsby wrote:
Chris Chilvers <ke****@dynafus .com> wrote:
From what I've seen normaly the mental model is that you are
the one moving not the picture [...]

Would be interesting too look at why this is, is it conditioned
because this is how most software acts, because of scrollbars
or just because the user moves the mouse in the way they
would like to move if the image were real.
I think Pacman is part of the reason...

In an everyday situation, you would typically move the
object. Say someone puts a photo on your desk and asks
you to take a closer look at some detail. Would you bend
over to get a closer look, or would you take up the photo
and hold it closer to your eye?

My feeling is, by far the most of us would lift the photo.
Perhaps we would later put it back on the desk and
bend over it using a magnifier, but that's because of
practical difficulties with light and keeping both the
photo and magnifier steady, not because bending feels
natural.

Say you spot a strange insect walking your desk. If
you're the curious kind, you'll bend over and watch,
but that's merely because you've been taught not to
touch such things. A toddler would not hesitate to
take it up and pull it apart in front of his/her eyes.

Now, in 3D games, it's an established convention that
you move your alter ego around by rolling/pushing/
pressing in whatever direction you want to go, though
this is the opposite of what you would do with your
hands if you were really crawling in a dusty tomb.


So the mouse wheel shouldn't grow or shrink the picture at all, but
replace it with a knife or a machine gun?

;)
It's not because this is the "natural" way. It's a convention
inherited from Pacman where your avatar is more like an
object you move around.

As things are, with Counterstrike, Hitman and their likes
being the typical youngster's first exposure to computers,
this little twart is probably here to stay.

Jun 28 '06 #8

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

Similar topics

6
1010
by: deko | last post by:
Is it possible to disable the mouse wheel WITHOUT using a DLL? I've looked at Microsoft Knowledge Base Article 278379 (http://support.microsoft.com/default.aspx?scid=kb;en-us;278379), which explains how to create a DLL and implement code to disable the mouse wheel, as well as Mr. Lebans' code in MouseWheelHookA2K.zip (http://www.lebans.com/mousewheelonoff.htm), but both require a DLL. Sure, it's easy enough to run:
6
2736
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 checked that it isn't a malfunction of the mouse by going to other applications and trying the wheel. It works just fine. This is very frustrating. It's bad enough that I have a logic problem, but now my mouse is not working while trying to...
13
2294
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 well. He is frequently missing the left mouse button and hitting the right, or less often the middle (wheel) buttons. While he is very slowly getting better with practice, the frustration level is high for him as a result of this (he gets very...
13
2797
by: Nathan | last post by:
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.
4
2720
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 my understanding the delta is the number of detents the mouse has moved. The standard detent is supposedly 120 for one notch of the wheel, however when I turn the wheel 1 click I get 240. Is there someway to determine the actual detent setting...
7
1875
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 bigger, while it gets smaller when mouse wheel DOWN. I just noticed that Photoshop does the opposite. Any though about the most natural way (or perhaps are both "natural") ?
3
3033
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 can i correctly count the wheel rotation in one mouse wheel or how to count wheel rotation. Need help please urgently.........??
3
1873
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 database. Recently my IT department replaced all the PCs and now I am having issues with the Mouse Wheel Off. If one of the radio buttons has focus, the mouse wheel works and scrolls to the next record. If one of the text boxes has focus, the mouse...
1
2273
ahmedtharwat19
by: ahmedtharwat19 | last post by:
hi, it`s give me pleasure to join with u i have a problem in code below the problem: when i move up mouse wheel the code work but in move down it not work the code: Public CurrentBookmark As String Public MouseWheelMoved As Boolean
0
8294
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
8816
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
8494
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
8596
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...
1
6162
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
5627
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
4150
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...
0
4297
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1924
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.