Article View: comp.sys.amiga.tech
Article #11096Re: FixReq -- a FIX for NAUGHTY PROGRAMS that don't set pr_WindowPtr
From: Jim Mackraz
Date: Sun, 29 Jan 1989 20:40
Date: Sun, 29 Jan 1989 20:40
35 lines
1866 bytes
1866 bytes
In article <3770@crash.cts.com> billk@pnet01.cts.com (Bill W. Kelly) writes:
)ewhac@well.UUCP (Leo 'Bols Ewhac' Schwab) writes:
)>>FixReq solves this problem by patching AutoRequest() to substitute
)>>IntuitionBase->ib_ActiveWindow in place of whatever window pointer was passed
)>>to AutoRequest().
)> JimM will probably toast you for this.
)Oh, come on. First of all, AutoRequest() (or: BuildSysRequest()) doesn't
)put up a requester in the _window_ you give it, but in the windows' screen!
)Now, the screen could be closed while the AutoRequest() is being displayed
)on it, but it hasn't happened in the eighteen months I've been using it.
A Toast:
Here's to all Empirical Programmers; may their work never inhabit my disks.
Eighteen whole months. That proves it, eh? Where did you say you worked?
Note that if the window is closed, window->WScreen is a technique we
call "Indirection through Free Memory." Bryce has a little program, memmung,
that you ought to try.
)Share and enjoy.
I'll drink to that ... ACk! Poison! ...
)Bill W. Kelly billk@pnet01.cts.com
jimm
--
Jim Mackraz, I and I Computing "Like you said when we crawled down
{cbmvax,well,oliveb}!amiga!jimm from the trees: We're in transition."
- Gang of Four
Opinions are my own. Comments are not to be taken as Commodore official policy.
Technical Details
Message-ID:
<3292@amiga.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!oliveb!amiga!jimmReferences:
<3770@crash.cts.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!nrl-cmf!ames!oliveb!amiga!jimm From: jimm@amiga.UUCP (Jim Mackraz) Newsgroups: comp.sys.amiga.tech,comp.sys.amiga Subject: Re: FixReq -- a FIX for NAUGHTY PROGRAMS that don't set pr_WindowPtr Message-ID: <3292@amiga.UUCP> Date: 29 Jan 89 20:40:05 GMT References: <3770@crash.cts.com> Reply-To: jimm@cloyd.UUCP (Jim Mackraz) Organization: Commodore-Amiga Inc, Los Gatos CA Lines: 35