Path: utzoo!utgpu!attcan!uunet!seismo!sundc!pitstop!sun!pepper!cmcmanis
From: cmcmanis%pepper@Sun.COM (Chuck McManis)
Newsgroups: comp.sys.amiga
Subject: Re: Can System Request windows appear on custom screens?
Message-ID: <65000@sun.uucp>
Date: 19 Aug 88 19:51:07 GMT
References: <448@jc3b21.UUCP>
Sender: news@sun.uucp
Reply-To: cmcmanis@sun.UUCP (Chuck McManis)
Organization: Sun Microsystems, Mountain View
Lines: 16

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.

Set pr_WindowPtr in you're process structure to point to your window. Then
all system requests will appear there (when they are instigated by your
process). You can find your process structure with either FindTask(NULL)
if you are started from the CLI or as part of your Workbench startup message
if you are started from the Workbench.


--Chuck McManis
uucp: {anywhere}!sun!cmcmanis   BIX: cmcmanis  ARPAnet: cmcmanis@sun.com
These opinions are my own and no one elses, but you knew that didn't you.