Article View: comp.sys.amiga.tech
Article #10550Re: Finding The Workbench Screen
From: Jamie Purdon
Date: Sat, 10 Dec 1988 14:43
Date: Sat, 10 Dec 1988 14:43
18 lines
1121 bytes
1121 bytes
Any screen with the "WBENCHSCREEN" bit set in the screen structure is a "workbench" screen. This is the way "multiple wbench screen" hacks work. So, so far as checking this bit, you were correct. However, the 'screen list' does not start at YOUR screen. If there are screens behind yours then, yes, the 1st longword in your screen struct will be a link to another screen. *The* place to begin scanning the screen structs is at IntuitionBase->FirstScreen Unless you're simply checking if you're the "upfront" screen, you should probably forbid/permit around any "screen structure walking". (finishing DIGIpaint2....;-)
Technical Details
Message-ID:
<13231@ncoast.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!super!udel!gatech!cwjcc!hal!ncoast!jamiepReferences:
<1982@van-bc.UUCP> <7796@well.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!super!udel!gatech!cwjcc!hal!ncoast!jamiep From: jamiep@ncoast.UUCP (Jamie Purdon) Newsgroups: comp.sys.amiga.tech Subject: Re: Finding The Workbench Screen Summary: Find WBench? Follow Screen list & check bits Message-ID: <13231@ncoast.UUCP> Date: 10 Dec 88 14:43:34 GMT References: <1982@van-bc.UUCP> <7796@well.UUCP> Reply-To: jamiep@ncoast.UUCP (Jamie Purdon) Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 18