Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!mit-eddie!bu-cs!purdue!decwrl!sun!imagen!atari!portal!cup.portal.com!Sullivan From: Sullivan@cup.portal.com Newsgroups: comp.sys.amiga.tech Subject: Re: following the sliding prop gadget Message-ID: <9515@cup.portal.com> Date: 28 Sep 88 03:58:58 GMT References: <2877@mtuxo.att.com> Distribution: na Organization: The Portal System (TM) Lines: 43 XPortal-User-Id: 1.1001.5165 > >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 >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? > >Thanks, >Tom Skrobala AT&T Bell Laboratories mtuxo!tas 201-957-5446 Sounds like your gadgets are changing the screen (as well they should) but since Intuition now has a lock on the front bitmap (to animate the gadget) nothing else in the window can update. Thus you don't get any of the messages you are waiting for after the first time you wait on anything else that would update the screen (like printing a new list of lines). If these assumptions are correct then what you must do, is to make your scroll bar something other than a gadget, and animate it yourself (by following the mouse...) That way your main task will have the lock neccessary to do both of the screen updates. Alternatively, you could violate the lock (since you know what the user is doing anyway,) and write to the screen bitmap directly. (This could really mess up the screen if you don't call window to front first, or if a requestor comes up, but hey, if you are planning on taking over the machine anyway, who cares? Think? Who Me? I hack, sometimes it's more fun to see how many different ways your code can crash the machine. :-) (PLEASE don't take that seriously.) -Sullivan Segall (still looking for a 68881 that can be piggy-backed on a 68000) _____________________________________________________________ /V\ My opinions are guaranteed to be worth at least what you ' paid for them. If you are dissatisfied, please return them to the nearest vendor for a full and prompt refund. To Quote the immortal Socrates: "I drank what?" -Sullivan _____________________________________________________________ Mail to: ...sun!portal!cup.portal.com!Sullivan or Sullivan@cup.portal.com