Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!samsung!munnari.oz.au!murdu!ucsvc!wehi!baxter_a From: BAXTER_A@wehi.dn.mu.oz Newsgroups: comp.sys.amiga.tech Subject: Re: Gadget help wanted Message-ID: <4812@wehi.dn.mu.oz> Date: 9 Feb 90 14:20:33 GMT References: <1039LK-KARI@FINTUVM> <23@tmiuv0.uucp> <25d085dd:842.4comp.sys.amiga.tech;1@tronsbox.UUCP> Organization: Walter & Eliza Hall Institute Lines: 22 In article <25d085dd:842.4comp.sys.amiga.tech;1@tronsbox.UUCP>, tron1@tronsbox.UUCP (HIM) writes: >>In article <1039LK-KARI@FINTUVM>, LK-KARI@FINTUVM.BITNET (Kari Sutela) writes: >>> 2. If I AddGadget() a gadget and then later on RemoveGadget() it, it will >>> be impossible to select it, but it won't disappear from the display even >>> though I call RefreshGadgets() immediately after the RemoveGadget(). > > You have to call RemakeDisplay() I think .. that should make 100% sure > that the screen reflects ONLY what should be there. This is right, but not optimal. I draw a patch of background colour to get rid of the gadget immagery. That way you don't hog system recources just to clean up a tiny part of the display. Regards Alan > > **************************************************************************** > Everything I say is Copr. 1990, except the stuff I stole from someone else > and the stuff I don't want responsibility for. > > Kenneth J. Jamieson: Xanadu Enterprises Inc. "Professional Amiga Software" > UUCP: tron1@tronsbox.UUCP BEST PATH ---> uunet!tronsbox!tron1 > Sysop, Romantic Encounters BBS - (201)759-8450 / (201)759-8568 > ****************************************************************************