Article View: comp.sys.amiga.tech
Article #10422Re: Finding The Workbench Screen
From: Larry Phillips
Date: Mon, 28 Nov 1988 14:36
Date: Mon, 28 Nov 1988 14:36
20 lines
1188 bytes
1188 bytes
> How can I find the screen structure for the current Workbench
> Screen short of opening a window on it and then looking in
> the Window structure?
Easiest path for finding the WB screen is through IntuitionBase,
FirstScreen, Flags. Just walk the screen list until you find the
one with the Flags bit ($0001) set. This is the WB. It's always
been first whenever I've looked.
-larry
--
"Intelligent CPU? I thought you said Intel CPU!"
-Anonymous IBM designer-
+----------------------------------------------------------------+
| // Larry Phillips |
| \X/ lpami.wimsey.bc.ca!lphillips or van-bc!lpami!lphillips |
| COMPUSERVE: 76703,4322 |
+----------------------------------------------------------------+
Technical Details
Message-ID:
<1982@van-bc.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!cmcl2!nrl-cmf!ames!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!van-bc!rootShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!cmcl2!nrl-cmf!ames!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!van-bc!root From: lphillips@lpami.van-bc.UUCP (Larry Phillips) Newsgroups: comp.sys.amiga.tech Subject: Re: Finding The Workbench Screen Message-ID: <1982@van-bc.UUCP> Date: 28 Nov 88 14:36:02 GMT Sender: root@van-bc.UUCP Lines: 20