Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!samsung!uunet!comp.vuw.ac.nz!actrix!templar!jbickers From: jbickers@templar.actrix.gen.nz (John Bickers) Newsgroups: comp.sys.amiga.tech Subject: Re: How to setup window border gadgets? Message-ID: <9578.tnews@templar.actrix.gen.nz> Date: 1 Jan 91 00:11:26 GMT References: <1374@ewu.UUCP> <1990Dec30.180904.19241@athena.mit.edu> Followup-To: comp.sys.amiga.tech Organization: TAP, NZAmigaUG. Lines: 20 Quoted from <1990Dec30.180904.19241@athena.mit.edu> by genoa@athena.mit.edu (Jack N Holt): > In article <1374@ewu.UUCP> mpierce@ewu.UUCP (Mathew W. Pierce) writes: > >I am trying to put a boolean gadget into the top border of a window > What's happening is Intuition checks the gadget list in sequential > order to see which (if any) gadget a mouse-click falls within. So, if > the drag gadget precedes your gadget in the gadget list, Intuition One problem I had with trying to do this was based on window activation. When the window was deactivated, my iconify gadget would get "shadowed", and when the window was reactivated the drag bar would be drawn over the gadget altogether. A solution in the end was to detect when the window got (de)activated, and redraw the gadget directly. > | Jack Holt || genoa@athena.mit.edu || 3 Ames St #93, Cambridge MA 02139 | -- *** John Bickers, TAP, NZAmigaUG. jbickers@templar.actrix.gen.nz *** *** "Snake through the chaos with a smooth noodle map" - Devo ***