🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #11438

Finding the Workbench screen

#11438
From: Robert Barton
Date: Sun, 12 Feb 1989 14:37
16 lines
1299 bytes
  Article 3813 From: shimoda@infohh.rmi.de (Markus Schmidt) :
> I remember Leo, flaming about someone Getting a pointer to
> Workbench-Screen, since WB-Screen might disappear due to CloseWBench().
> Now, I need such a Pointer too. If I open a Window (small, 2 by 2 pix)
> then, get the Pointer to WBench (by serarching a LockIBase()'d Screen-
> List), is there anything else that could make me meditating (except
> reading my taoistic books)?
   
  If you've already opened a window on the Workbench screen, you don't
need to LockIBase() and search the screen list, just use window->WScreen.
As long as your window stays open CloseWorkBench() won't be able to close
the screen.
  By the way, notice that CloseWorkBench() will now return FALSE if the
screen was already closed, contrary to what it says in the Intuition
manual and the RKM.
Technical Details
Message-ID: <1635@psu-cs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!decvax!tektronix!reed!psu-cs!bartonr

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!decvax!tektronix!reed!psu-cs!bartonr
From: bartonr@psu-cs.UUCP (Robert Barton)
Newsgroups: comp.sys.amiga.tech
Subject: Finding the Workbench screen
Message-ID: <1635@psu-cs.UUCP>
Date: 12 Feb 89 14:37:25 GMT
Reply-To: bartonr@psu-cs.UUCP (Robert Barton)
Organization: Dept. of Computer Science, Portland State University; Portland OR
Lines: 16