Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!hal!ncoast!jeffl From: jeffl@NCoast.ORG (Jeff Leyser) Newsgroups: comp.sys.mac.hypercard Subject: Re: How to keep track of top window in SuperCard? Message-ID: <1989Nov22.202847.6360@NCoast.ORG> Date: 22 Nov 89 20:28:47 GMT References: <925taylorj@yvax.byu.edu> Reply-To: jeffl@ncoast.ORG (Jeff Leyser) Organization: North Coast Public Access UN*X, Cleveland, OH Lines: 17 In post <925taylorj@yvax.byu.edu>, taylorj@yvax.byu.edu says: ! !I need to know when a window is brought to the top in SuperCard. I can't use !currentWindow() because there's the possiblity of quite a few floating palettes !(both from my project and the runtime editor) actually being on top of the !"top" window. The function topWindow() returns the id of the current top window, ignoring palettes. Makes life very simple (I too have a project that makes extensive use of palettes.) "In other words, we are talking about a species that has become dependent not just on cannibalism, but on S&M to perpetuate itself." -- Jeff Leyser jeffl@NCoast.ORG