[comp.sys.amiga.tech] redirecting to another window.

rminnich@udel.EDU (Ron Minnich) (04/28/88)

Hokay, it has been explained to me that i could get a BPTR from an
Open("con:...",..); type sequence and jam this file handle
into various places (sounds like alt.sex, doesn't it?) and do 
it that way. And for my current problem that would work.
   Problem is, for the general case i don't think it will work.
I have a NewWindow structure declared by PowerWindows 2.0, with 
a zillion little parameters to it (you know, CLOSEWINDOW and all that),
maybe its own screen, maybe a 1 or six bit planes, and so on, 
and i really want to OpenWindow it. But as has been pointed out to 
me there is no existing mechanism to get a DOS file handle for 
that window, and thus no way to get Lattice/Manx standard io to 
talk to it, as they use file handles.
   Maybe i should:
Open("Con", etc.)
OpenWindow
Close the Con window and put my window in its place? Is this 
do-able? I will look some more.
   Further comments welcome.
ron

-- 
ron (rminnich@udel.edu)