Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!saturn!ssyx.ucsc.edu!sirkm From: sirkm@ssyx.ucsc.edu (Greg Anderson) Newsgroups: comp.sys.atari.st Subject: Re: Who have I clobbered? (GEM windows) Summary: form_dial(FMD_FINISH,x1,y1,w1,h1,x2,y2,w2,h2) Keywords: GEM redraw rectangle Message-ID: <6494@saturn.ucsc.edu> Date: 27 Feb 89 16:17:49 GMT References: <7829@chinet.chi.il.us> Sender: usenet@saturn.ucsc.edu Reply-To: sirkm@ssyx.ucsc.edu (Greg Anderson) Organization: UC Santa Cruz; Division of Social Sciences Lines: 22 In article <7829@chinet.chi.il.us> saj@chinet.chi.il.us (Stephen Jacobs) writes: >Before I try out my 3 best guesses, I thought I'd ask for advice on this one: >I'd like to have a particular program plaster a big dialog box on the screen. >After the dialog is over, I'd like to get the screen redrawn properly (natch') From the Laser C manual: "Any rectangular area of the screen can be invalidated by calling form_dial with a value of FMD_FINISH. The rectangle will be redrawn by a series of events for all windows covered by it." >3) Make a buffer. Save the area under the dialog, and restore it at the end >of the dialog. How dull; how memory-hungry. Actually, that's a nice solution. Memory-hungry is may be, but it is a much faster solution. ---------------------------------------------------------------- Greg Anderson Social Sciences Computing University of California, Santa Cruz email: sirkm@ssyx.ucsc.edu BBS: (408) 462-3832 2400/1200/300 baud