Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!cbmvax!mks From: mks@cbmvax.UUCP (Michael Sinz - CATS) Newsgroups: comp.sys.amiga.tech Subject: Re: Screen Gadgets Keywords: Gadgets Amiga Help! Message-ID: <7856@cbmvax.UUCP> Date: 8 Sep 89 12:57:20 GMT References: <1612@cbnewsd.ATT.COM> Reply-To: mks@cbmvax.UUCP (Michael Sinz - CATS) Distribution: usa Organization: Commodore Technology, West Chester, PA Lines: 22 In article <1612@cbnewsd.ATT.COM> ead@cbnewsd.ATT.COM (eric.a.duesing) writes: > >HELP!!! I am working on a proportional gadget and I am trying >to get it to work on a custom screen. This gadget uses an Image >structure and works fine on a window in this custom screen, however, >it does NOT work (heck, it doesn't even appear) when I attach it >to the screen (and before you ask, I did set the SCRGADGET flag in >the GadgetType field of the Gadget structure). You can not have user screen gadgets. They are not supported. The easy way to do this would be to open a STUPID-REFRESH backdrop window on the screen. The reason user gadgets are not supported on screens is that there is no UserPort where Intuition message can come to when the gadget is clicked. /----------------------------------------------------------------------\ | /// Michael Sinz -- CATS/Amiga Software Engineer | | /// PHONE 215-431-9422 UUCP ( uunet | rutgers ) !cbmvax!mks | | /// | |\\\/// When people are free to do as they please, | | \XX/ they usually imitate each other. | \----------------------------------------------------------------------/