Path: utzoo!attcan!uunet!samsung!dali!uakari.primate.wisc.edu!brutus.cs.uiuc.edu!psuvax1!psuvm!dn5 From: DN5@psuvm.psu.edu Newsgroups: comp.sys.mac.programmer Subject: Re: MacApp help needed (closing a window) Message-ID: <90101.093120DN5@psuvm.psu.edu> Date: 11 Apr 90 13:31:20 GMT References: <90099.091150DN5@psuvm.psu.edu> <40173@apple.Apple.COM> <435@psych.psy.uq.oz> Organization: Penn State University Lines: 18 In article <435@psych.psy.uq.oz>, strasser@psych.psy.uq.oz (Michael Strasser) says: > >Are the flags for the window set correctly? I had some problems with a >window bombing once because I hadn't specified its 'view' resource >properly, viz: dontFreeOnClosing and doesntCloseDocument. >Mike Strasser I believe that the flags are set properly: freeOnClosing, and closeDocument! When the window closes, I want the document and window closed and freed. Perhaps my trouble lies in the fact that if the window is freed when I call the SELF.GetWindow.Close, then any further processing that MacApp does to that window causes bombs. D. Jay Newman dn5@psuvm.psu.edu