Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!decwrl!decvax!ucbvax!pasteur!ames!hao!gatech!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!uxe.cso.uiuc.edu!leonardr From: leonardr@uxe.cso.uiuc.edu Newsgroups: comp.sys.mac.programmer Subject: Re: Showing a list of all the avail Message-ID: <226000001@uxe.cso.uiuc.edu> Date: 26 Feb 88 18:43:00 GMT References: <22780002@acf8.UUCP> Lines: 27 Nf-ID: #R:acf8.UUCP:22780002:uxe.cso.uiuc.edu:226000001:000:1762 Nf-From: uxe.cso.uiuc.edu!leonardr Feb 26 12:43:00 1988 /* acf8:comp.sys.mac.programmer / icm@eleazar.Dartmouth.EDU (Ioannis C. Mangos) / 9:28 pm Feb 21, 1988 */ > I am writting a small application for the Mac with some friends of mine >and we want to have a menu called "Windows" that will display all the windows >that there are currently on the screen. One problem I have is that there does >not seem to be a command "DeleteMItem" whereas there is one called "AppendMItem" >The way I was thinking to do that was to have a linked list of all the window >titles and append them. But in order to do that I have to delete first all the >existing titles n that menu. > Does anyone has an alternative on that that is willing to share with >me? Thank you for your help in advance. You should purchase a copy of Scott Knaster new book, Macintosh Programming Secrets. In it (along with a host of other useful things) you will find section (and example source) that deals with window handling including a Windows Menu for both selection windows as well as Stacking and Tiling them. +---------------------------------+-----------------------------------+ + + Any thing I say may be taken as + + Leonard Rosenthol + fact, then again you might decide+ + President, LazerWare, inc. + that it really isn't, so you + + + never know, do you?? + + leonardr@uxe.cso.uiuc.edu + + + GEnie: MACgician + + + Delphi: MACgician + + + + + +---------------------------------+-----------------------------------+