Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!tut!funic!santra!cs.hut.fi!ako From: ako@cs.hut.fi (Arto Kojo) Newsgroups: comp.sys.mac.hypercard Subject: Detecting a window in SuperCard Message-ID: Date: 28 Aug 90 09:13:26 GMT Sender: news@santra.uucp (Cnews - USENET news system) Organization: Helsinki University of Technology, Finland Lines: 16 I'm building an SC application, that uses several windows. It also uses a menu of its own. Some menuItems need to be dimmed or activated depending on the window that is active (topWindow()). Of course menuItems must be dimmed or activated immediately after user has clicked ther window.. What is the best way to detect the active window? Using idle makes things a bit too slow, so I'm currently using mouseWithin. It isn't too fast either. -- :::: Arto Kojo :::::::::::::::::::::: Helsinki University of Technology :::: :: TKK/TKO-lab/Y227 => ako@cs.hut.fi <= :: :: 02150 ESPOO FINLAND akojo@otax.tky.hut.fi :: :::: tel: +358-0-4513236 :::::::::::: s29808u@puukko.hut.fi ::::::::::::::::