Path: utzoo!utgpu!watmath!att!tut.cis.ohio-state.edu!cs.utexas.edu!csd4.milw.wisc.edu!bbn!apple!dlyons From: dlyons@Apple.COM (David Lyons) Newsgroups: comp.sys.apple Subject: Re: Menu disabling Message-ID: <33832@apple.Apple.COM> Date: 8 Aug 89 20:53:56 GMT References: <8908080837.aa03707@SMOKE.BRL.MIL> Organization: Apple Computer Inc, Cupertino, CA Lines: 22 In article <8908080837.aa03707@SMOKE.BRL.MIL> STEIN@UCONNVM.BITNET (Alan Stein) writes: > > How does one disable and then re-enable an entire menu (as opposed to >a single menu item)? > > I know there's a DisableMItem and an EnableMItem toolbox call for >items, but haven't seen a corresponding call for menus themselves in >the scanty documentation I have. SetMenuFlag($0080,menuID) is what you're looking for (Vol I, p13-72). Not one of the more obvious calls, is it? (Maybe the manuals should have fictitious calls alphabetized right in there, like "DisableMenu: Sorry, there is no such call, but see SetMenuFlag instead." 0.5 :-) --Dave Lyons, Apple Computer, Inc. | DAL Systems AppleLink--Apple Edition: DAVE.LYONS | P.O. Box 875 AppleLink--Personal Edition: Dave Lyons | Cupertino, CA 95015-0875 GEnie: D.LYONS2 or DAVE.LYONS CompuServe: 72177,3233 Internet/BITNET: dlyons@apple.com UUCP: ...!ames!apple!dlyons My opinions are my own, not Apple's.