Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!caen!spool.mu.edu!uunet!ns-mx!ccad.uiowa.edu!booth From: booth@ccad.uiowa.edu (Michael Booth) Newsgroups: comp.sys.amiga.programmer Subject: Re: Opening a window on Front Screen Message-ID: <1991Jun11.004504.11094@ccad.uiowa.edu> Date: 11 Jun 91 00:45:04 GMT References: <1991Jun9.175112.4115@news.iastate.edu> Organization: CAD-Research, U. of Iowa, Iowa City, Iowa Lines: 31 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. > Sort of like the way ClockDJ does it's pop to front, only it just > needs to go there to begin with. > I've seen this done with other programs. I am assuming that all I need > is a pointer to the screen I want to open on. But I just haven't seem to > found how to do this. > > Can anybody tell me how to do this, or perhaps point me in the direction > of some source code for a program that has done this? > > Responses to e-mail. > Thanks! > > Steve Sheldon /// | Ne auderis delere orbem rigidum meum! > taak9@ccvax.iastate.edu /// | > Senior, Computer Science \XX/ | Non erravi perniciose! Steve, After you open the IntuitionLibrary, use the IntuitionBase pointer and access IntuitionBase->ActiveScreen. This is a pointer to the currently active screen the user is on, and by other pointer manipulations you can get whatever other data you need. For more info, look in the header files, or mail to me. Michael S. Booth booth@ccad.uiowa.edu