Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!rutgers!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga Subject: Re: Question on System Request Message-ID: <15982@cbmvax.commodore.com> Date: 20 Nov 90 16:48:05 GMT References: <1990Nov19.151458.7631@diku.dk> <7997@ucdavis.ucdavis.edu> Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Distribution: comp Organization: Commodore, West Chester, PA Lines: 28 In article <7997@ucdavis.ucdavis.edu> zerkle@iris.ucdavis.edu (Dan Zerkle) writes: >In article <1990Nov19.151458.7631@diku.dk> aggaton@diku.dk (Klavs Torben Pedersen) writes: >>...open a screen and a standard window on it...begin to access the disks... >>the screen is changed, and the system request window is shown "Please insert" >>bla. bla. bla. How the f*&^$ can I make this Bl*&^% requester to pop up on MY >>window????? > >According to the 1.3 Rom Kernel Manual, Libraries and Devices: >System requester are invoked by the operating system; your program has >no control over these...In other words, you're screwed.... > > Dan Zerkle zerkle@iris.eecs.ucdavis.edu (916) 754-0240 You can control the DOS error requesters by setting the pr_WindowPtr variable in the process structure. Setting it to zero causes error requesters to appear on the workbench screen (default behavior.) Setting it to -1 causes the requesters to not appear, with the error returned to the program. Or you can put a pointer to a window in it, and the requester should appear in that window (or at least on the same screen as the window.) This is documented in "The AmigaDOS Manual" by Bantam Books, ISBN 0-553-34294-0. It is near the end, in the section on AmigaDOS Data Structures. -- -- Ken Farinsky - CATS - (215) 431-9421 - Commodore Business Machines uucp: ken@cbmvax.commodore.com or ...{uunet,rutgers}!cbmvax!ken bix: kfarinsky