home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- 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
- From: orpheus@reed.edu (P. Hawthorne)
- Subject: Re: When is a menu disabled? (enableFlags isn't all)
- References: <walkerj.728102613@milo.math.scarolina.edu> <toge-270193142420@130.87.65.24>
- Organization: Reed College, Portland, OR
- Date: Wed, 27 Jan 1993 13:41:54 GMT
- Message-ID: <1993Jan27.134154.25270@reed.edu>
- Lines: 13
-
- toge@kekvax.kek.ac.jp (Nobu Toge) writes:
- : I don't know except possibly to patch EnableItem and DisableItem and
- : keep track of menu dis/enable actions.
-
- Don't even think about doing this. Many apps just slam the enable flags
- directly without going through enableItem and disableItem. And nobody in
- the know has yet hinted that it is a Bad Thing.
-
- If you're going to patch any traps to keep track of enabled menus, patch
- drawMenuBar like everyone else and their mother's pet poodle.
-
- Theus (orpheus@reed.edu)
-
-