Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!keith From: keith@Apple.COM (Keith Rollin) Newsgroups: comp.sys.mac.programmer Subject: Re: Need help w/ Event Manager Message-ID: <33228@apple.Apple.COM> Date: 17 Jul 89 18:23:17 GMT References: <0Yk12oy00WB6Ek10Zb@andrew.cmu.edu> Organization: Apple Computer Inc, Cupertino, CA Lines: 30 In article <0Yk12oy00WB6Ek10Zb@andrew.cmu.edu> al1f+@andrew.cmu.edu (Andy A. Lee) writes: > >Hello, > >I am running a small program called EventTutor from the book "Macintosh >Programming Primer" with LightSpeed C 3.01. This program demonstrates >the Event Manager by continuously displaying event records from >the event queue. It is great, it displays mouseUp, mouseDown, updateEvt, >keyDown, autoKey, ... all except keyUp. But looking at the source code, >it should display keyUp: > > [ source code removed ] > >Can someone give me some pointers? I'd appreciate any help. > The answer to this can be found on page 70 of Inside Mac II under the descrip- tion of SetEventMask: "...The system event mask is initially set to post all except key-up events." Hope this helps, ------------------------------------------------------------------------------ Keith Rollin --- Apple Computer, Inc. --- Developer Technical Support INTERNET: keith@apple.com UUCP: {decwrl, hoptoad, nsc, sun, amdahl}!apple!keith "Argue for your Apple, and sure enough, it's yours" - Keith Rollin, Contusions