Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!ira.uka.de!fauern!faui43.informatik.uni-erlangen.de!csbrod From: csbrod@immd4.informatik.uni-erlangen.de (Claus Brod) Newsgroups: comp.sys.atari.st.tech Subject: Re: GEM Windows/Stay-resident program Message-ID: <1991May23.102120.938@informatik.uni-erlangen.de> Date: 23 May 91 10:21:20 GMT References: Organization: CSD., University of Erlangen, Germany Lines: 16 marco@sys6626.bison.mb.ca (Marco) writes: >Does anyone happen to have any code on sensing if there's a GEM window on >the screen from within a stay-resident (auto folder) type program. Maybe >there's a C function? You could do this from a DA by calling wind_get(WF_TOP...). If there is a GEM window, there must be a top window. If there is none, you won't get a top window handle other than 0 (desktop window). ---------------------------------------------------------------------- Claus Brod, Am Felsenkeller 2, Things. Take. Time. D-8772 Marktheidenfeld, Germany (Piet Hein) csbrod@medusa.informatik.uni-erlangen.de Claus Brod@wue.maus.de ----------------------------------------------------------------------