Article View: comp.sys.amiga.tech
Article #8393Re: Putting system requesters in custom screens
From: Bryce Nesbitt
Date: Tue, 22 Mar 1988 01:51
Date: Tue, 22 Mar 1988 01:51
24 lines
1312 bytes
1312 bytes
In article <804@zippy.eecs.umich.edu> gld@zippy.eecs.umich.edu (Greg L. Dykema) writes:
>
>Having created and displayed a custom screen, how can one cause system
>requesters such as the "insert disk such-and-such in any drive" to appear
>in the custom screen (when it is visible) instead of the Workbench screen?
Just read my article in the first issue of "Transactor for the Amiga". :-)
The secret is:
Open your window
save the pr_WindowPtr field of the Process structure
set pr_WindowPtr to point to your window.
...
Restore the old pr_WindowPtr
Close the window
See "libraires/dosextens.h" for the definition of the Process struture.
Complete source code is avaiable in Transactor for the Amiga.
|\_/| . ACK!, NAK!, EOT!, SOH!
{O_o} . Bryce Nesbitt
(") BIX: mleeds (temporarily)
U USENET: bryce@eris.berkeley.EDU -or- ucbvax!eris!bryce
Technical Details
Message-ID:
<7886@agate.BERKELEY.EDU>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!uwvax!dogie!uwmcsd1!ig!agate!eris!bryceReferences:
<804@zippy.eecs.umich.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!rutgers!uwvax!dogie!uwmcsd1!ig!agate!eris!bryce From: bryce@eris (Bryce Nesbitt) Newsgroups: comp.sys.amiga.tech Subject: Re: Putting system requesters in custom screens Message-ID: <7886@agate.BERKELEY.EDU> Date: 22 Mar 88 01:51:24 GMT References: <804@zippy.eecs.umich.edu> Sender: usenet@agate.BERKELEY.EDU Organization: University of California, Berkeley Lines: 24