Path: utzoo!attcan!uunet!husc6!bbn!oberon!pollux.usc.edu!papa From: papa@pollux.usc.edu (Marco Papa) Newsgroups: comp.sys.amiga Subject: Re: Can System Request windows appear on custom screens? Message-ID: <11699@oberon.USC.EDU> Date: 19 Aug 88 04:15:53 GMT References: <448@jc3b21.UUCP> Sender: news@oberon.USC.EDU Reply-To: papa@pollux.usc.edu (Marco Papa) Organization: Felsina Software, Los Angeles, CA Lines: 31 In article <448@jc3b21.UUCP> fgd3@jc3b21.UUCP (Fabbian G. Dufoe) writes: >How can I redirect System Request windows to a screen other than the >Workbench screen? In particular, I'm interested in the ones that say >"Please insert volume ... in any drive". I'm told Deluxe Paint II and >MaxiPlan both do it, so it must be possible. From the bag of tricks of Bryce Nesbitt: struct Process *mproc; struct Window *window; APTR temp; ... mproc = (struct Process *) FindTask(0L); temp = mproc->pr_WindowPtr; mproc->WindowPtr = (APTR) window; /* any window open on custom screen */ at the end: ... mproc->pr_WindowPtr = temp; /* retore BEFORE CloseWindow */ CloseWindow(window); Enjoy. -- Marco papa 'Doc' -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= uucp:...!pollux!papa BIX:papa ARPAnet:pollux!papa@oberon.usc.edu "There's Alpha, Beta, Gamma and Diga!" -- Leo Schwab [quoting Rick Unland] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=