home *** CD-ROM | disk | FTP | other *** search
- Article 3981 of net.micro.amiga:
- Relay-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site well.UUCP
- Path: well!ptsfa!lll-lcc!pyramid!amiga!andy
- From: andy@amiga.UUCP (Andy Finkel)
- Newsgroups: net.micro.amiga
- Subject: How to Find You Window
- Message-ID: <1485@amiga.amiga.UUCP>
- Date: 16 Aug 86 04:43:25 GMT
- Date-Received: 17 Aug 86 09:53:52 GMT
- Reply-To: andy@skipper.UUCP (andy finkel)
- Distribution: net
- Organization: Commodore Business Machines, 1200 Wilson Drive, West Chester, PA 19380
- Lines: 151
-
-
- One question that comes up fairly often is given a DOS CON: or RAW:
- window, how do you find the intuition pointer to it, so you
- can do WindowToFront, graphics and other interesting things.
-
- The answer lies in the following example. Also, as an extra adde
- bonus, under V1.2 you will also be told where the IOR for the console
- device for that window is located, so you can play console.device
- games also. (The IOR is only returned under V1.2, but the window
- pointer is returned under both...there's a check for a version number
- in the program.)
-
- enjoy...
- andy finkel
-
- ------------- cut here ------------------------------------------
-
-
- ---------------------------------------------------------
- --
-
- andy finkel
- Commodore(Amiga)
- {ihnp4|seismo|allegra}!cbmvax!andy
- or pyramid!amiga!andy
-
- Any expressed opinions are mine; but feel free to share.
-
- I disclaim all responsibilities, all shapes, all sizes, all colors.
-
- "Remember, no matter where you grow, there you are." - Buckaroo Bonsai.
-
-
-