Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!mit-eddie!uw-beaver!tektronix!cae780!amdcad!sun!imagen!atari!leavens From: leavens@atari.UUCP Newsgroups: comp.sys.atari.st Subject: Re: clearing the screen Message-ID: <647@atari.UUCP> Date: Fri, 13-Mar-87 16:31:42 EST Article-I.D.: atari.647 Posted: Fri Mar 13 16:31:42 1987 Date-Received: Sat, 14-Mar-87 19:48:56 EST References: <13873@cca.CCA.COM> Organization: Atari Corp., Sunnyvale CA Lines: 22 in article <13873@cca.CCA.COM>, m204help@cca.CCA.COM (Keith Hedger) says: > > > I'm writing a program using the MEGAMAX C system and my program is going > to spit out lines of output to the screen. My problem is that I want to > clear the screen (exit the desktop), have my program display its' information, > then return to the desktop. > How do I do this ??? Open a window. Write a filled rectangle of color white to the dimensions of the window. (This effectively blanks the window by painting the whole screen white). DO your stuff. CLose the window. Delete the window handle. Exit. --alex @ Atari BIX:alexl. GEnie: ALEXLEAVENS AtariCorp: 408-745-2006 "How can you be in two places at once when you're not anywhere at all."