Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!mailrus!cornell!rochester!udel!mmdf From: ewhac%well.uucp@UDEL.EDU Newsgroups: comp.sys.amiga Subject: Re: following the sliding prop gadget Message-ID: <4449@louie.udel.EDU> Date: 3 Oct 88 22:54:55 GMT Sender: mmdf@udel.EDU Lines: 65 Received: from CUNYVM by CUNYVM.BITNET (Mailer X2.00) with BSMTP id 4725; Sun, 02 Oct 88 00:26:55 EDT Received: from UDEL.EDU by CUNYVM.CUNY.EDU (IBM VM SMTP R1.1) with TCP; Sun, 02 Oct 88 00:26:52 EDT Received: from Louie.UDEL.EDU by Louie.UDEL.EDU id ac27787; 1 Oct 88 7:42 EDT Received: from USENET by Louie.UDEL.EDU id aa27727; 1 Oct 88 7:39 EDT From: Leo 'Bols Ewhac' Schwab Subject: Re: following the sliding prop gadget Message-ID: <7263@well.UUCP> Date: 1 Oct 88 08:24:41 GMT Organization: The Digital-Watches-With-Millions-Of-Useless-Features Company. Quote: "Excuse me. I've lost my marbles." -- Opus To: amiga-relay@UDEL.EDU Sender: amiga-relay-request@UDEL.EDU >In article <2877@mtuxo.att.com> tas@mtuxo.att.com (XMPC2-T.SKROBALA) writes: >>I would like to see the contents of one of my windows scroll continouously >>as I slide a prop gadget up and down, [ ... ] >>I thought of two ways to >>accomplish this, and neither seems to work. One way is to set the >>prop-gadget's FOLLOWMOUSE flag and check the gadget's PropInfo structure >>every time I get a MOUSEMOVE message; [ ... ] After having finished Yet Another G*d D*mn File Requester (can you tell I'm burning out), I can tell you that this works. >>The problem is that, as >>soon as I press the mouse's select button, all MOUSEMOVE and INTUITICKS >>messages appear to be suspended until I release the button (at which >>point I get a flood of MOUSEMOVE messages). [ ... ] It sounds to me like you have a bug in your processing loop (this is a stab in the dark). >>If I ever do succeed in getting continuous messages, is it >>reasonable to expect the PropInfo structure to be updated continuously? Yes. -------- In article <4875@cbmvax.UUCP> eric@cbmvax.UUCP (Eric Cotton) writes: >Preferences sets the FOLLOWMOUSE, GADGIMMEDIATE, RELVERIFY flags [ ... ] Why do you set RELVERIFY? I set just FOLLOWMOUSE and GADGIMMEDIATE and it works great. >Also, beware of quick buildup of MOUSEMOVE messages. A way around that: -------- while (msg = GetMsg (window -> UserPort)) { class = msg -> Class; ReplyMsg (msg); if (class == MOUSEMOVE) moveit = 1; : : } if (moveit) movethedamnthing (); -------- Good luck, guy. _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ Leo L. Schwab -- The Guy in The Cape INET: well!ewhac@ucbvax.Berkeley.EDU