Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: How do I do dynamic menus (adding/removing entries)? Message-ID: <8361@hoptoad.uucp> Date: 22 Aug 89 08:20:30 GMT References: <10029@phoenix.Princeton.EDU> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Organization: Eclectic Software, San Francisco Lines: 20 In article <10029@phoenix.Princeton.EDU> bskendig@phoenix.Princeton.EDU (Brian Kendig) writes: >I'd like to have a 'Windows' menu from which the user can select any one >of the currently-open windows. I have no trouble adding an item to the >menu for each window I create, but there are no routines for removing >items from the menu whenever I close a window! Sure there is. DelMenuItem, described on IM IV-56. One of many indispensable routines added in the Mac Plus ROM.... Some day, a new Inside Mac should come out that combines all this stuff into single chapters. A lot of stuff in IV and V (and the no doubt forthcoming VI) seems to get missed just because they're organized as addenda rather than integrated into the main topic discussions. -- Tim Maroney, Mac Software Consultant, sun!hoptoad!tim, tim@toad.com "Something was badly amiss with the spiritual life of the planet, thought Gibreel Farishta. Too many demons inside people claiming to believe in God." -- Salman Rushdie, THE SATANIC VERSES