home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 22289 < prev    next >
Encoding:
Text File  |  1993-01-27  |  1.0 KB  |  24 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!news.univie.ac.at!scsing.switch.ch!univ-lyon1.fr!ghost.dsi.unimi.it!rpi!usenet.coe.montana.edu!news.u.washington.edu!henson!reed!orpheus
  3. From: orpheus@reed.edu (P. Hawthorne)
  4. Subject: Re: When is a menu disabled? (enableFlags isn't all)
  5. References: <walkerj.728102613@milo.math.scarolina.edu> <toge-270193142420@130.87.65.24>
  6. Organization: Reed College, Portland, OR
  7. Date: Wed, 27 Jan 1993 13:41:54 GMT
  8. Message-ID: <1993Jan27.134154.25270@reed.edu>
  9. Lines: 13
  10.  
  11.   toge@kekvax.kek.ac.jp (Nobu Toge) writes:
  12. : I don't know except possibly to patch EnableItem and DisableItem and 
  13. : keep track of menu dis/enable actions.
  14.  
  15.   Don't even think about doing this. Many apps just slam the enable flags
  16. directly without going through enableItem and disableItem. And nobody in
  17. the know has yet hinted that it is a Bad Thing.
  18.  
  19.   If you're going to patch any traps to keep track of enabled menus, patch
  20. drawMenuBar like everyone else and their mother's pet poodle.
  21.  
  22.   Theus (orpheus@reed.edu)
  23.  
  24.