Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!midway!news From: martin@cs.uchicago.edu Newsgroups: comp.sys.mac.programmer Subject: Weird EventRecord.what after SelectWindow Message-ID: <1991Jan16.193819.1332@midway.uchicago.edu> Date: 16 Jan 91 19:38:19 GMT Sender: news@midway.uchicago.edu (News Administrator) Reply-To: martin@cs.uchicago.edu Organization: University of Chicago Lines: 13 In the Control routine of my driver I SelectWindow a (currently inactive) window that belongs to the driver and then leave the Control routine. By my reckoning, the next entry to the driver should be an AccEvent with EventRecord.what = ActivateEvt (for the activation of that window). Indeed, the next entry is an AccEvent but the EventRecord.what = $0022. What happened to the ActivateEvt? Checking WindowList shows that the selected window is indeed now the first window on the list. Any help appreciated. Charles Martin // martin@cs.uchicago.edu