home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / programm / 3548 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  1.9 KB

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