Xref: utzoo comp.sys.amiga.tech:3764 comp.sys.amiga:29392 Path: utzoo!utgpu!utstat!jarvis.csri.toronto.edu!mailrus!ulowell!cbmvax!andy From: andy@cbmvax.UUCP (Andy Finkel) Newsgroups: comp.sys.amiga.tech,comp.sys.amiga Subject: Re: window help Message-ID: <5987@cbmvax.UUCP> Date: 16 Feb 89 14:33:18 GMT References: <23793@pbhya.PacBell.COM> <20428@agate.BERKELEY.EDU> Reply-To: andy@cbmvax.UUCP (Andy Finkel) Organization: Commodore Technology, West Chester, PA Lines: 35 In article <20428@agate.BERKELEY.EDU> mwm@eris.berkeley.edu (Mike (I'll think of something yet) Meyer) writes: >In article <23793@pbhya.PacBell.COM> hbit@pbhya.PacBell.COM (Henry Bitter) writes: > >This is a pretty common request. As far as I can tell, the answer is >"you can't get there from here." At least not with what is provided by >CBM. > Actually, I did an example that did this a long time ago. You open an Intuition window; the example shows how to start a console handler using it. I posted it here, on BIX, and its on Fish disk 38. Once you make your window a con: window you can printf, or whatever to it. The example uses only one cheap trick, and I promise to rewrite it without the trick after 1.4 :-) >Now, if someone knows of a way supported by CBM of getting a >FileHandle pointing to a window after you've opened a file, that would >very usefull. I'd like to see it if you know how. You can also find the Intuition window pointer of a window opened as a CON: window, by sending the con-handler a DISKINFO packet. That example was by Carolyn Scheppner, and appeared on Fish disk 56. -- andy finkel {uunet|rutgers|amiga}!cbmvax!andy Commodore-Amiga, Inc. "Possibly this is a new usage of the word 'compatible' with which I was previously unfamiliar" Any expressed opinions are mine; but feel free to share. I disclaim all responsibilities, all shapes, all sizes, all colors.