Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uunet!cbmvax!ken From: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Newsgroups: comp.sys.amiga.programmer Subject: Re: Opening a window on Front Screen Message-ID: <22329@cbmvax.commodore.com> Date: 11 Jun 91 14:39:46 GMT References: <1991Jun9.175112.4115@news.iastate.edu> <1991Jun11.004504.11094@ccad.uiowa.edu> Reply-To: ken@cbmvax.commodore.com (Ken Farinsky - CATS) Organization: Commodore, West Chester, PA Lines: 20 In article <1991Jun11.004504.11094@ccad.uiowa.edu> booth@ccad.uiowa.edu (Michael Booth) writes: >From article <1991Jun9.175112.4115@news.iastate.edu>, by taak9@isuvax.iastate.edu (Steve Sheldon): >> >> I want to modify a program to open it's window on another tasks screen. >> Steve Sheldon >> taak9@ccvax.iastate.edu /// | > > After you open the IntuitionLibrary, use the IntuitionBase pointer >and access IntuitionBase->ActiveScreen. > > Michael S. Booth > booth@ccad.uiowa.edu Note that opening a window on someone else's screen without proper locking is dangerous. What if the screen is closed by the time you open your window? What if the screen closes while the window is open? If you want to use public screens, wait for 2.0 where it is properly supported. Then you will have to use calls such as LockPubScreen() to gain access to another screen. -- Ken Farinsky - CATS - Commodore Business Machines