Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!rutgers!mit-eddie!gary From: gary@eddie.MIT.EDU (Gary Samad) Newsgroups: comp.sys.amiga Subject: Re: Intuition Extensions & other languages Message-ID: <5656@eddie.MIT.EDU> Date: Wed, 29-Apr-87 17:08:09 EDT Article-I.D.: eddie.5656 Posted: Wed Apr 29 17:08:09 1987 Date-Received: Sat, 2-May-87 02:40:40 EDT References: <3604@garfield.UUCP> Reply-To: gary@eddie.MIT.EDU (Gary Samad) Organization: MIT, EE/CS Computer Facilities, Cambridge, MA Lines: 34 In article <3604@garfield.UUCP> john13@garfield.UUCP writes: >[] > >I can think of two ways - monitor that window's IDCMP for closewindow messages >or check periodically the list of windows until it is no longer there. But >that introduces some new difficulties, you have to provide a background >monitor task, and multiple windows sharing menus would not work (guru maybe). Well, this may not work for several reasons. Looking for CloseWindow messages wouldn't always work because programs may exit for other reasons (via a keystroke command, for instance) and what about programs that are not actually done after you hit CloseWindow (maybe a requester comes up about saving your data or something). Also, my new program, in fact, uses a single menu which multiple windows share. >I don't know if there are programs now which use the UserData fields. I >suspect I'll soon be checking out a lot of commercial software to see if it >actually does. Even in a worst-case situation for a window not using the >UserData area, all you would end up with would be some memory not de-allocated >properly, and as I said earlier a patch program could take care of that for >older software. > Well, I use the UserData fields, so please don't muck with them. I like your basic idea but I think there are probably too many problems to overcome (such as, what about menus that are built and changed dynamically). > >John Russell john13@garfield.mun.cdn Gary