Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!hao!gatech!bloom-beacon!mit-eddie!bbn!rochester!PT.CS.CMU.EDU!andrew.cmu.edu!rs4u+ From: rs4u+@andrew.cmu.edu (Richard Siegel) Newsgroups: comp.sys.mac.programmer Subject: Re: Showing a list of all the available windows Message-ID: Date: 24 Feb 88 17:45:20 GMT Organization: Carnegie Mellon University Lines: 25 In-Reply-To: <7390002@hpindda.HP.COM> It's "SetItem" you're thinking of; "SetIText" is for setting dialog items. A further suggestion: there's no way to simply add space for another menu item, and then set the items to something arbitrary. What you can do, however, is an AppendMenu call, which adds the string specified to the menu. I need to write a Windows menu... The question is, when to maintain it? Every activate/deactivate event? That seems the best question; you can waste a LOT of time doing it every time through the main event loop. Anyway, the window list only changes on activate/deactivate events anyway.... --Rich =================================================================== Richard Siegel Confused Undergrad, Carnegie-Mellon University The opinions stated here do not represent the policies of Carnegie-Mellon University. Arpa: rs4u@andrew.cmu.edu UUCP: {decvax,ucbvax,sun}!andrew.cmu.edu!rs4u ==================================================================