home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / apple2 / 25893 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  2.0 KB

  1. Path: sparky!uunet!gatech!rpi!bu.edu!nntp-read!nagendra
  2. From: nagendra@csa.bu.edu (nagendra mishr)
  3. Newsgroups: comp.sys.apple2
  4. Subject: Re: Patching the menu manager
  5. Message-ID: <NAGENDRA.92Dec22140945@csa.bu.edu>
  6. Date: 22 Dec 92 19:09:45 GMT
  7. References: <BzD8FB.FJE@CAM.ORG> <mattd-161292192238@city-lights.apple.com>
  8.     <BzGv1o.1zC@CAM.ORG>
  9. Sender: news@bu.edu
  10. Organization: Boston University Computer Science Department
  11. Lines: 49
  12. In-reply-to: vandry@CAM.ORG's message of 18 Dec 92 17:53:45 GMT
  13.  
  14. >
  15. >   Okay. I want to write some sort of accessory (either an Init or an NDA) so
  16. >   menus can be accessed without using the mouse, in a manner similar to
  17. >   MicroSoft's (on the IBM) or ProTerm (but on the desktop).
  18. >
  19. >   The options I considered are:
  20. >
  21. >   1. Completely fake mouse movements so that the entire system thinks the user
  22. >      is actually using the mouse.
  23. >
  24. >      Drawbacks: The mouse pointer would jump around as the user presses keys.
  25. >         It's hard and long.
  26. >
  27.     ......
  28. >
  29. >   Suggestions?
  30.  
  31. What's wrong with option 1?  Just do a hide-cursor so that your cursor
  32. is not visible.  Move it around all you want...  select things.  ShowCursor
  33.  
  34. Besides, I think that having the cursor visible may cause problems
  35. with the menu code: (I think it's safe to assume that the menu manager
  36. is assuming that the cursor will be what is causing the picking to
  37. happen and so it check's it location)
  38.  
  39. ex:
  40.     Assume you're navigating with the arrow keys and the mouse
  41. cursor is visible:
  42.  
  43.     let's say right under the menu, the menu somehow opens, the
  44. cursor moves (accidently) --> takes a snapshot of screen under cursor,
  45. the menu is closed, the cursormoves again --> the old snapshot is
  46. placed on the screen ...  You're gonna have a ghost image of the menu
  47. left on the desktop.  Sort of like how Showpic screws up the screen
  48. while it is decoding pictures.
  49.  
  50.  
  51. ******* better yet  ********************
  52.  
  53. make a new device driver which responds to key events, and fakes the
  54. mouse around the screen whenever you hit option or command or
  55. whatever.
  56.  
  57. ****************
  58.  
  59.  
  60. Nagendra
  61.  
  62. Nagendra@csa.bu.edu
  63.