Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!math.fu-berlin.de!tmpmbx!zelator!acsys!spocky From: spocky@acsys.UUCP Newsgroups: comp.sys.acorn Subject: Re: tasks which leave desktop and return Keywords: desktop, tasks Message-ID: Date: 3 May 91 07:37:35 GMT References: <1991Apr23.135553.17810@newcastle.ac.uk> Organization: Acsys, Berlin Germany, first ACORN BBS in Berlin Lines: 32 J.W.Harley@newcastle.ac.uk (Jon Harley) writes: > I've seen a couple of desktop apps which take over the whole screen while > they're active (ie the iconbar icon has been clicked), then return to the > desktop afterwards without the "Press SPACE or click mouse to return to > desktop" message. The apps in question were a home accounts program and > !StrongEd, which you want to stay resident while you're not using them. > > I'm trying to do this for some PD software I'm writing - how is it done? > I've tried to do it with a second bank of vdu ram but with no success. > You ask for a clean termination? I think I can help you! I find this Article in the Risc User Magazine December 1989: CLEAN TERMINATION If you run a non Wimp program from the Desktop, you will get the following message when it terminates: 'Press SPACE or click mouse to continue'. To avoid this add the line: SYS "Wimp_CommandWindow",-1 to the end of the program, ensuring that no text or graphics output can occur after this statement has been executed. A program which is then run from the Desktop will return you to the Desktop as soon as the program terminates. Note, however, that if such a program is run directly from a Basic language environment, you will be left in a VDU 5 state, and the program should execute VDU 4 to return to normal cursor operation.