Path: utzoo!utgpu!attcan!uunet!cbmvax!eric From: eric@cbmvax.UUCP (Eric Cotton) Newsgroups: comp.sys.amiga.tech Subject: Re: following the sliding prop gadget Keywords: FOLLOWMOUSE INTUITICKS Message-ID: <4875@cbmvax.UUCP> Date: 29 Sep 88 14:18:14 GMT References: <2877@mtuxo.att.com> Reply-To: eric@cbmvax.UUCP (Eric Cotton) Distribution: na Organization: Commodore Technology, West Chester, PA Lines: 27 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, rather than just get one change >when I finish let go of the select button. Preferences and Manx's SDB >give this "instant feedback", and it's nice. 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; the other way is to check the >PropInfo each time I get an INTUITUCKS message. 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). I have tried various >combinations of GADGIMMEDIATE, RELVERIFY, and FOLLOWMOUSE in the >gadget's Activation field, and I reply to all messages. Am I missing >something? If I ever do succeed in getting continuous messages, is it >reasonable to expect the PropInfo structure to be updated continuously? >Is there another way to get the desired effect? Preferences sets the FOLLOWMOUSE, GADGIMMEDIATE, RELVERIFY flags (for the color sliders, for example) and checks the PropInfo structures on each MOUSEMOVE. So, it seems that you are on the right track. Also, beware of quick buildup of MOUSEMOVE messages. -- Eric Cotton Commodore-Amiga (215) 431-9100 1200 Wilson Drive {rutgers|allegra}!cbmvax!eric West Chester, PA 19380 "I don't find this stuff amusing anymore."