Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!mailrus!purdue!decwrl!sun!imagen!atari!mui From: mui@atari.UUCP (Derek Mui) Newsgroups: comp.sys.atari.st Subject: Re: where is gem desktop resource? Message-ID: <1274@atari.UUCP> Date: 28 Dec 88 20:00:05 GMT References: <12375@hall.cray.com> Organization: Atari Corp., Sunnyvale CA Lines: 27 in article <12375@hall.cray.com>, rosenkra@hall.cray.com (Bill Rosenkranz) says: > > --- > the AES wind_set () call to replace the desktop works just fine. but how > can you set it back to what it was after a program exits? if allan's > listening, i'd appreciate the "legal, official atari sanctioned" way. > in lieu of that (i have not found any pointers/calls to do it), if anybody > knows the addr of the DESKTOP.RSC (tos 1.0?) and HDESKUSA.RSC (tos 1.2/mega?) > and foreign versions (if any) could u mail them to me? There is no function call to get the resource of the desktop. When an application makes a wind_set( WF_NEWDESK ) call, it doesn't need to reset it back when it exits. When control returns to the desktop, the original background will be restored. The desktop's resource is "glued" together during the system build, its location is different from release to release, so don't bother searching for it in memory. ______________________________________ I speak for myself, so ... don't blame Derek Mui {..ames!atari!mui} another human being. Atari Corp --------------------------------------