Path: utzoo!attcan!uunet!wiley!keith From: keith@wiley.UUCP (Keith Scott) Newsgroups: comp.sys.mac.programmer Subject: ClikLoop & Scrollbars Message-ID: <2318@wiley.UUCP> Date: 27 Jul 88 16:07:05 GMT Reply-To: keith@wiley.UUCP (Keith Scott) Organization: TRW Inc., Redondo Beach, CA Lines: 33 I am a relatively inexperienced Mac programmer with the following question/problem: I am writing a small editor based on TEdit and using the AutoScroll feature. I enabled AutoScroll and patched in my own ClikLoop routine (using SetClikLoop) so that scrollbars would get updated while autoscrolling is going on. They aren't. I am running LightSpeed C 3.0 and, using the debugger, can watch the scrollbar's value increase while the user is selecting (pretty nifty) but the thumb doesn't get redrawn on the screen. What's more, the program won't do ANYTHING to the scrollbar (like inverting the contrlRect) until another event (like an activateEvent or a mouseDown in the scrollbar) is received, at which time the thumb warps to the right position. Configuration: Mac Plus, System 6.0, LightSpeed C 3.0, 2.5 Meg, Dataframe HD Any help would be appreciated, --Keith -------------------------------------------------------------------- If I had expressed any opinions, they would have been solely my own. -- --Keith Scott keith@wiley.uucp {csvax.caltech.edu,uunet.uu.net,trwrb.uucp}!wiley!keith