Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!wish-bone!lippin From: lippin@wish-bone.berkeley.edu (The Apathist) Newsgroups: comp.sys.mac.programmer Subject: Re: Multiple window DA Message-ID: <19951@agate.BERKELEY.EDU> Date: 5 Feb 89 00:31:48 GMT References: <1989Feb2.142610.24884@LTH.Se> Sender: usenet@agate.BERKELEY.EDU Reply-To: lippin@math.berkeley.edu Organization: Authorized Service, Incorporated Lines: 16 Recently joakim_b@tts.lth.se (Joakim Bengtson) wrote: >I'm working on a multiwindow DA. How can multiple windows be handled >in a DA in such a way InterMail does? My solution was to write a WDEF that looks like a normal window, but leaves a hole where the close box is. Then a close box control fits in that spot, but FindWindow recognises it as part of the content region, and so SystemClick doesn't close the whole desk accessory. I have the source for this hack here if you want it. --Tom Lippincott lippin@math.berkeley.edu "When subtlety fails us, we must make do with cream pies." --David Brin