Path: utzoo!attcan!uunet!lll-winken!ncis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!dewey.soe.berkeley.edu!oster From: oster@dewey.soe.berkeley.edu (David Phillip Oster) Newsgroups: comp.sys.mac.programmer Subject: Re: Closing Desk Accessories Message-ID: <27657@ucbvax.BERKELEY.EDU> Date: 21 Jan 89 05:52:05 GMT References: <2580008@hpausla.HP.COM> <2580009@hpausla.HP.COM> Sender: usenet@ucbvax.BERKELEY.EDU Reply-To: oster@dewey.soe.berkeley.edu.UUCP (David Phillip Oster) Organization: School of Education, UC-Berkeley Lines: 7 CloseDeskAcc() works fine for me. If your desk accessory can't close itself by calling CloseDeskAcc() on its own refNum, then that is probably a symptom of some other bug in your code. (Try setting the clock flag in your own header before calling CloseDeskAcc. That should help keep it around until it has a chance to process its own close message. Note the section of the manual on keeping a d.a.'s data around even while it is closed.)