home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14230 < prev    next >
Encoding:
Internet Message Format  |  1992-08-19  |  1.3 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!mips!swrinde!elroy.jpl.nasa.gov!usc!rpi!batcomputer!cornell!uw-beaver!news.u.washington.edu!milton.u.washington.edu!aph
  2. From: aph@milton.u.washington.edu (Al Hallstrom)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Disabling Command-Q in a program; HELP
  5. Keywords: Menus, File,Quit,Q
  6. Message-ID: <1992Aug19.204614.11139@u.washington.edu>
  7. Date: 19 Aug 92 20:46:14 GMT
  8. Sender: news@u.washington.edu (USENET News System)
  9. Reply-To: aph@u.washington.edu
  10. Distribution: usa
  11. Organization: University of Washington, Seattle
  12. Lines: 13
  13.  
  14. I am using THINK C 5.0 on a Mac IIsi.
  15. I am writing a program and I want to disable the user from being able to
  16. press Command-Q to quit. Yes I know this is not a good idea, but you will
  17. just have to trust me.  I have been able to get is that if you pull down the 
  18. menu and select Quit nothing happens, but that is not what I want.  I have
  19. looked through ANSI and changed the InitConsole section where menus are 
  20. created. I have played with ResEdit and adding menus that way.  Even if I 
  21. can get rid of the menus Quit (along with the Edit commands) still have
  22. their command key equivalents.  Does anyone know of any way to diasble 
  23. the command key equivalents?  It would be a great help.
  24.  
  25. Philip Hallstrom
  26. aph@u.washington.edu
  27.