Path: utzoo!attcan!uunet!lll-winken!ncis.tis.llnl.gov!helios.ee.lbl.gov!pasteur!ucbvax!hoptoad!tim From: tim@hoptoad.uucp (Tim Maroney) Newsgroups: comp.sys.mac.programmer Subject: Re: Help: Using CopyBits for Update Message-ID: <7322@hoptoad.uucp> Date: 16 May 89 17:19:34 GMT References: <1617@neoucom.UUCP> <7254@hoptoad.uucp> <1625@neoucom.UUCP> Reply-To: tim@hoptoad.UUCP (Tim Maroney) Organization: Eclectic Software, San Francisco Lines: 18 In article <7254@hoptoad.uucp> tim@hoptoad.UUCP (Tim Maroney) writes: >If a dialog box or something comes up in front of your window, then >goes away, then the offscreen bitmap approach will lead to a faster >update of the covered region... In article <1625@neoucom.UUCP> sam@neoucom.UUCP (Scott A. Mason) writes: >This is exactly my problem. How does one update the screen if it has not >been stored in an offscreen bitmap?? Store the characters in an array or a linked list or some cognate structure. When you get an update, determine which lines need to be redrawn, then call DrawText on each line after moving to the appropriate place on the screen. Sorry that I didn't understand your problem earlier or I'd have said this right away. -- Tim Maroney, Consultant, Eclectic Software, sun!hoptoad!tim "Conversion, fastidious Goddess, loves blood better than brick, and feasts most subtly on the human will." - Virginia Woolf, "Mrs. Dalloway"