Path: utzoo!utgpu!watmath!clyde!att!pacbell!ames!mailrus!cornell!batcomputer!itsgw!steinmetz!uunet!van-bc!lpami From: lphillips@lpami.van-bc.UUCP (Larry Phillips) Newsgroups: comp.sys.amiga.tech Subject: Re: Finding The Workbench Screen Message-ID: <2023@van-bc.UUCP> Date: 12 Dec 88 01:58:23 GMT Sender: lpami@van-bc.UUCP Lines: 30 > 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. Ahh... _information at last! I appreciate it Jamie. I never thought about multiple WorkBench screens. > 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 Gotcha. I did specify IntuitionBase, FirstScreen, Flags though. Is there a way to find the first, default, WorkBench screen as opposed to any that have been added later? Thanks again. -larry -- "Intelligent CPU? I thought you said Intel CPU!" -Anonymous IBM designer- +----------------------------------------------------------------------+ | // Larry Phillips | | \X/ lphillips@lpami.wimsey.bc.ca or uunet!van-bc!lpami!lphillips | | COMPUSERVE: 76703,4322 | +----------------------------------------------------------------------+