home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 12976 < prev    next >
Encoding:
Internet Message Format  |  1992-07-23  |  1.9 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!wupost!waikato.ac.nz!ldo
  2. From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: Things That May Become Dim
  5. Message-ID: <1992Jul24.183250.9638@waikato.ac.nz>
  6. Date: 24 Jul 92 18:32:50 +1200
  7. References: <1992Jul22.111616.3574@reed.edu> <1992Jul22.171644.7212@midway.uchicago.edu>
  8. Organization: University of Waikato, Hamilton, New Zealand
  9. Lines: 23
  10.  
  11. In article <1992Jul22.171644.7212@midway.uchicago.edu>, jcav@quads.uchicago.edu (JohnC) writes:
  12. > In article <1992Jul22.111616.3574@reed.edu> orpheus@reed.edu (P. Hawthorne) writes:
  13. >>If a non-movable modal dialog is up, should all of the menu titles on the
  14. >>menu bar be dimmed, since you can't use them? What if one of the menus is
  15. >>hilited to begin with, such as the Apple menu after bringing up an about
  16. >>window that goes away as soon as you click?
  17. >
  18. > The guidelines say that menus and menu items that aren't available should be
  19. > dimmed.  Before System 7, you couldn't click anywhere outside a modal dialog
  20. > box, so it made sense to disable the entire menu bar.  Since System 7, Apple
  21. > recommends that the Apple, Edit and other system menus remain available during
  22. > modal dialogs.  I think the system handles this auto-magically for most cases.
  23.  
  24. I think the automagic only works if you use ModalDialog. I know I wrote some
  25. code using IsDialogEvent/DialogSelect (because it was more convenient), and
  26. I wasn't getting the special handling of the Edit menu; I changed the code
  27. to call ModalDialog, and recoded my special item handling as a filter routine,
  28. and cut/copy/paste then worked in my dialog.
  29.  
  30. Lawrence D'Oliveiro                       fone: +64-7-856-2889
  31. Computer Services Dept                     fax: +64-7-838-4066
  32. University of Waikato            electric mail: ldo@waikato.ac.nz
  33. Hamilton, New Zealand    37^ 47' 26" S, 175^ 19' 7" E, GMT+12:00
  34.