Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!wuarchive!rex!mandel@vax.anes.tulane.edu From: mandel@vax.anes.tulane.edu (Jeff E Mandel MD MS) Newsgroups: comp.sys.mac.programmer Subject: Re: What? No kiss goodbye? You tease! Message-ID: <5751@rex.cs.tulane.edu> Date: 18 Jan 91 14:53:30 GMT References: <22703@well.sf.ca.us> Sender: news@rex.cs.tulane.edu Organization: Tulane University School of Medicine Lines: 34 In article <22703@well.sf.ca.us> gurgle@well.sf.ca.us (Pete Gontier) writes: >Folks: > >The thing I can't seem to get to work is the goodbye kiss. I go ahead and >whack the DCE's control flags with the appropriate bit mask, but I'm not >getting any goodbye kiss when I tell the host app to quit (as opposed to >actually closing the DA). I looked at my working code and found that I always set this in the driver's resource: resource 'DRVR' (dNum, ".JFMDriver", locked,preload) { needLock, dontNeedTime, needGoodbye, /* Hey you! Here! Look Here! */ statusEnable, ctlEnable, noWriteEnable, noReadEnable, 0, /* drvrDelay */ activMask|updateMask|mDownMask|keyDownMask|autoKeyMask, /* drvrEMask */ ResID, /* drvrMenu */ "JFMDriver", /* drvrName */ $$resource("JFMDriver.DRVW", 'DRVW', 0) }; Since my code works, and this is the way that the MPW manual suggests doing it, it might be worth trying. Jeff E Mandel MD MS Asst. Professor of Anesthesiology Tulane University School of Medicine New Orleans, LA