Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!iuvax!cica!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!al1f+ From: al1f+@andrew.cmu.edu (Andy A. Lee) Newsgroups: comp.sys.mac.programmer Subject: Need help w/ Event Manager Message-ID: <0Yk12oy00WB6Ek10Zb@andrew.cmu.edu> Date: 16 Jul 89 04:36:04 GMT Organization: Class of '91, Carnegie Mellon, Pittsburgh, PA Lines: 30 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: switch ( gTheEvent.what ) { ... case keyDown: DrawEventString( "\pkeyDown" ); break; case keyUp: DrawEventString( "\pkeyUp" ); break; case autoKey: DrawEventString( "\pautoKey" ); break; ... Can someone give me some pointers? I'd appreciate any help. Andy A. Lee al1f+@andrew.cmu.edu P.S. I am using System 6.02 w/ Macintosh II, 5 MB.