Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!pasteur!ucbvax!decwrl!labrea!polya!rothberg From: rothberg@polya.Stanford.EDU (Edward Rothberg) Newsgroups: comp.sys.mac.programmer Subject: MultiFinder and the event mask Message-ID: <3469@polya.Stanford.EDU> Date: 1 Aug 88 17:32:29 GMT Organization: Stanford University Lines: 18 Thanks for all the responses to the Ticks question. I'm convinced; I'll use the TickCount() trap call. I've also become convinced that MultiFinder doesn't deal with the foreground application's event mask properly. I have an application where I need to receive keyUp events. I call SetEventMask() with the appropriate parameter. My application works perfectly with UniFinder, and it works just fine when I'm running alone (just it and the Finder) in MultiFinder. However, when I start up another application in the background, the foreground application starts losing keyUp events. My guess as to what's happening is that my application is getting switched out, and MultiFinder is substituting the background application's event mask for mine. Anyone know what's going on and how to get around it? Thanks, Ed Rothberg rothberg@polya.stanford.edu