home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!rpi!uwm.edu!linac!mp.cs.niu.edu!news.ecn.bgu.edu!uxa.ecn.bgu.edu!not-for-mail
- From: mgmam@uxa.ecn.bgu.edu (Mark A. Morrell)
- Newsgroups: comp.programming
- Subject: Re: Telling if the SHIFT key is down.
- Date: 21 Jan 1993 22:27:12 -0600
- Organization: Educational Computing Network
- Lines: 29
- Message-ID: <1jnt30INN2o4@uxa.ecn.bgu.edu>
- References: <00966E8E.9CED30C0@Msu.oscs.montana.edu> <1993Jan21.132348.19617@druid.uucp>
- NNTP-Posting-Host: uxa.ecn.bgu.edu
-
- In article <1993Jan21.132348.19617@druid.uucp>
- darcy@druid.uucp (D'Arcy J.M. Cain) writes:
- >ooprb@Msu.oscs.montana.edu writes:
- >>I'm writting a program that updates numbers by the press
- >>of a mouse button. I would like to change the value by
- >>a different amount if the shift key is being pressed when
- >>a mouse button is pressed.
- >
- >Don't do this. If you must change the meaning of a mouse button use
- >another button to do this. Your method requires your users to have
- >their hands on two different devices in order to do input. In fact
- >why not just make use of the different buttons on the mouse? You could
- >for example increment by 1 on the left, 5 on the right and 3 on the
- >middle. If your user has a two button mouse it still works but with
- >less intermediate control.
- >
- I think that it's perfectly acceptable to use the shift key to modify
- the behaviour of a mouse button. The argument that you need hands on
- two devices is kind of silly, since you only need one hand for your
- mouse. There are already several programs which modify the actions of
- the mouse depending on keyboard state. Probably the most in use is
- Shift-Clicking to select multiple objects.
-
- Besides, the other mouse buttons might already have something else to
- do.
- --
- --------------------------------------------------------------------
- Mark A. Morrell Disclaimer: _I_ probably don't even believe it.
- Literary Reference: The introduction to Cervantes' Don Quixote.
-