Article View: net.micro.mac
Article #6996Re: Closing DAs
From: David W. Berry
Date: Fri, 29 Aug 1986 12:17
Date: Fri, 29 Aug 1986 12:17
17 lines
1469 bytes
1469 bytes
In article <49@runx.OZ> baron@runx.OZ (Jason Haines) writes: > >If you have a number of open DAs, and you quit from the current application, >all the DAs are killed without allowing them to clean up (save files,etc.). >Isn't it possible for an application to keep track of the open DAs, and their >refnums (which can be found from the windowKind field of its window), so that >when it exits to shell, it first calls CloseDeskAcc for all open DAs?? Yah, you could, but why bother. If the DA is correctly written and needs to know if the application is going out from under it so it can save files or whatever elses is appropriate it should have the dNeedGoodBye bit set in it's flags word. That way it will receive a "goodbye kiss" when the application exits. The kiss comes in the form of a control call with a csParam of -1. -- David W. Berry dwb@well.uucp dwb@Delphi dwb@GEnie 293-0752@408.MaBell
Technical Details
Message-ID:
<1693@well.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!well!dwbReferences:
<49@runx.OZ>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!lll-crg!lll-lcc!well!dwb From: dwb@well.UUCP (David W. Berry) Newsgroups: net.micro.mac Subject: Re: Closing DAs Message-ID: <1693@well.UUCP> Date: Fri, 29-Aug-86 08:17:28 EDT Article-I.D.: well.1693 Posted: Fri Aug 29 08:17:28 1986 Date-Received: Fri, 29-Aug-86 21:31:38 EDT References: <49@runx.OZ> Reply-To: dwb@well.UUCP (David W. Berry) Organization: Whole Earth Lectronic Link, Sausalito CA Lines: 17