Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!netcom!rcb From: rcb@netcom.COM (Roy Bixler) Newsgroups: comp.sys.atari.st.tech Subject: saving screen in a GEM app. Summary: how to save screen? form_dial() doesn't seem to do it. Keywords: save screen, GEM application, form_dial Message-ID: <1991Apr24.012040.22627@netcom.COM> Date: 24 Apr 91 01:20:40 GMT Sender: rcb@netcom.COM (Roy Bixler) Organization: Netcom - Online Communication Services UNIX System {408 241-9760 guest} Lines: 21 I am writing a GEM application based on a dialog box which occasionally has another dialog box written over it. When this 'pop-up' dialog box is done and I have called form_dial() the second time, instead of the original dialog box being restored, the desktop background is restored. Obviously, that doesn't 'cut it'. Is there a way for me to save the background and restore it when I'm done with the 'pop-up' dialog? It looks like the problem is that GEM is not aware that my original dialog box is the background. How do I notify GEM that the background is not the original desktop? I've thought about doing a 'wind_set(0, WF_NEWDESK, ...)' but, if I do that, how would I get the original desktop back when my application is done? Maybe insanity is the best answer. Any suggestions otherwise? -- Roy Bixler rcb@netcom.com -or- (UUCP) uunet!apple!netcom!rcb "Just when you think you know it all, it changes!"