Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!gatech!udel!princeton!phoenix!bskendig From: bskendig@phoenix.Princeton.EDU (Brian Kendig) Newsgroups: comp.sys.mac.programmer Subject: How do I do dynamic menus (adding/removing entries)? Message-ID: <10029@phoenix.Princeton.EDU> Date: 21 Aug 89 20:01:16 GMT Reply-To: bskendig@phoenix.Princeton.EDU (Brian Kendig) Organization: Systems Engineering, NASA Space Station Freedom Project Lines: 18 I have a program that involves several numbered text windows. At any time, the user can create a new window or close an old one. 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! My Windows menu exists in a resource which I access through a handle to it. I am using Lightspeed C 3.0 for my coding. Any ideas? Anyone? Anyone? -- | Brian S. Kendig | I feel more like I | bskendig | | Computer Engineering | did when I got here | @phoenix.Princeton.EDU | | Princeton University | than I do now. | @PUCC.BITNET | | Systems Engineering, NASA Space Station Freedom / General Electric WP3 |