Path: utzoo!utgpu!water!watmath!clyde!att-cb!att-ih!pacbell!ames!pasteur!ucbvax!decwrl!pyramid!voder!apple!darin From: darin@Apple.COM (Darin Adler) Newsgroups: comp.sys.mac.programmer Subject: Re: More on MPW tool graphics Message-ID: <8358@apple.Apple.Com> Date: 15 Apr 88 21:48:29 GMT References: <1422@pt.cs.cmu.edu> Reply-To: darin@apple.UUCP (Darin Adler) Organization: Apple Lines: 11 In article <1422@pt.cs.cmu.edu> mkb@rover.ri.cmu.edu (Mike Blackwell) writes: > If I command-. out of the tool, then the graphic window never gets closed, > and becomes unhooked from reality. No way to get rid of it, and MPW isn't > really happy... You can use the MPW routine onexit (in StdLib.h) to add a routine to a list of routines automatically called when the tool exits due to a signal (such as the abort signal sent by Command-.). -- Darin Adler, Apple Computer AppleLink:Adler4 UUCP: {sun,voder,nsc,mtxinu,dual}!apple!darin CSNET: darin@Apple.com