Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!cbmvax!peter From: peter@cbmvax.commodore.com (Peter Cherna) Newsgroups: comp.sys.amiga.programmer Subject: Re: Prop gadgets and FOLLOWMOUSE Message-ID: <18812@cbmvax.commodore.com> Date: 11 Feb 91 17:19:58 GMT References: <51792@cornell.UUCP> Reply-To: peter@cbmvax.commodore.com (Peter Cherna) Organization: Commodore, West Chester, PA Lines: 20 In article <51792@cornell.UUCP> johnhlee@cs.cornell.edu (John H. Lee) writes: > >I've been having a problem with prop gadgets and FOLLOWMOUSE. It seems >that the MOUSEMOVE IDCMP messages I get have the IAddress set to the >window containing the gadget rather than the gadget itself. This is true, and it's doubtful we could ever change this. However, it's easy to know which gadget is in use. If you get a GADGETDOWN for your prop. gadget, then all MOUSEMOVEs are from this gadget until you hear the corresponding GADGETUP. The Rom Kernel Manual discusses this. > John Lee Internet: johnhlee@cs.cornell.edu Peter -- Peter Cherna, Software Engineer, Commodore-Amiga, Inc. {uunet|rutgers}!cbmvax!peter peter@cbmvax.commodore.com My opinions do not necessarily represent the opinions of my employer. "Oh, PIN-compatible! I thought you wanted me to make it IN-compatible!"