Xref: utzoo comp.sys.mac:23750 comp.sys.mac.programmer:3453 Path: utzoo!utgpu!watmath!clyde!bellcore!rutgers!ucsd!nosc!humu!uhccux!mikem From: mikem@uhccux.uhcc.hawaii.edu (Mike Morton) Newsgroups: comp.sys.mac,comp.sys.mac.programmer Subject: Re: Disabled Menu Items -- Cons and Pros Summary: Apple may not support MenuChoice/MenuDisable? Message-ID: <2772@uhccux.uhcc.hawaii.edu> Date: 7 Dec 88 21:33:12 GMT References: <7743@orstcs.CS.ORST.EDU> <6000@hoptoad.uucp> <6001@hoptoad.uucp> <6004@hoptoad.uucp> Organization: University of Hawaii Lines: 24 Tim Maroney recently wrote: > The latest revision of the Menu Manager lets the software check to see > whether a disabled item was chosen and which one. Some colleagues and I tried to incorporate this into a product in mid-'87. We found that the trap for "MenuChoice" was not implemented, even on the Mac II, although the global "MenuDisable" was being set correctly. When we complained to Apple, they told us it was not going to be supported, and not to use it. Both the trap and the global are documented in the published IM volume V, dated January '88, though. I think there were some problems with using the global, but I'm afraid I don't remember, since Apple was so insistent and we decided not to bother with it. Incidentally, MenuDisable can return the root item for a hierarchical menu (the "submenu title"). We were tempted to use this for an odd syntax, but a preview of this concept at the Boston Computer Society's MacTechGroup convinced us that this was a Bad Thing To Do. -- Mike Morton // P.O. Box 11378, Honolulu, HI 96828, (808) 676-6966 HST Internet: msm@ceta.ics.hawaii.edu (anagrams): Mr. Machine Tool; Ethical Mormon; Chosen Immortal; etc.