Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!brutus.cs.uiuc.edu!apple!claris!sts!octopus!pyramid!oliveb!amiga!cbmvax!joe From: joe@cbmvax.UUCP (Joe O'Hara - QA) Newsgroups: comp.sys.amiga Subject: Re: Window to front Message-ID: <7870@cbmvax.UUCP> Date: 11 Sep 89 14:12:44 GMT References: <19716@gryphon.COM> Reply-To: joe@cbmvax.UUCP (Joe O'Hara - QA) Organization: Commodore Technology, West Chester, PA Lines: 19 In article <19716@gryphon.COM> dennya@pnet02.gryphon.com (Denny Atkin) writes: >Problem is, he can't find any structures in intuition which say which window >is at the front, only which window is active. He's using M2Sprint. Any >ideas? He can get what he needs from layers info: #define MY_SCREEN MyWindow->WScreen #define MY_LAYER MyWindow->WLayer if (MY_LAYER != MY_SCREEN->LayerInfo.top_layer) WindowToFront(MyWindow); -- ======================================================================== Joe O'Hara || Comments represent my own opinions, Commodore Electronics Ltd || not my employers. Any similarity to Software QA || to any other opinions, living or dead, || is purely coincidental. ========================================================================