Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!labtam!eyrie!phoenix!billy From: billy@phoenix.pub.uu.oz.au (Jeff Coleman) Newsgroups: comp.sys.amiga.programmer Subject: Re: Disabling System Requesters from C. Message-ID: <1991Apr22.113258.2944@phoenix.pub.uu.oz.au> Date: 22 Apr 91 11:32:58 GMT References: <1991Apr12.195535.16815@ucunx1.san.uc.edu> <1991Apr13.081303.3300@watdragon.waterloo.edu> <2852@sirius.ucs.adelaide.edu.au> Organization: Phoenix ComSystem. Public UNIX Melbourne Australia. Lines: 18 In <2852@sirius.ucs.adelaide.edu.au> jpotter@ucs.adelaide.edu.au (Jonathan Potter) writes: >In article <1991Apr13.081303.3300@watdragon.waterloo.edu> ccplumb@rose.waterloo.edu (Colin Plumb) writes: >>In your process structure, there's a pr_WindowPtr field. This is the window >>the DOS requesters get hung off of. If set to NULL, dos requesters silently >>fail. (see libraries/dosextens.h) >>-- >> -Colin >If set to NULL, dos requesters appear on the Workbench screen. To prevent them >from appearing at all, you must set pr_WindowPtr=-1; It also should be noted that if left in this state once your program is finished you will not get the requesters enabled again.Make sure you take a copy of what pr_WindowPtr is before you use it and RESTORE it when you have finished. jeff.