Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!att!bu.edu!snorkelwacker.mit.edu!apple!AppleLink.apple.com!Greg From: Greg@AppleLink.apple.com (Greg Marriott) Newsgroups: comp.sys.mac.programmer Subject: Re: keyUp events in THINK C Message-ID: <11475@goofy.Apple.COM> Date: 8 Dec 90 11:22:50 GMT References: <109417.276027AF@cmhgate.FIDONET.ORG> Sender: usenet@Apple.COM Organization: Apple Computer, Inc. Lines: 14 In article <109417.276027AF@cmhgate.FIDONET.ORG> Jennings.Jennings@f31.n343.z1.FIDONET.ORG (Jennings Jennings) writes: > I have tried and failed to find keyUp events [after calling WaitNextEvent] > with everyEvent=0xFFFF. There is a system event mask in low memory which is initialized to accept all events EXCEPT keyUp events. This is because most apps don't care about when the keys are released, and keyUp events would "crowd out" other more important events in the queue. You can set the system event mask by calling SetEventMask (see IM II, p.70). Greg Marriott Blue Meanie Apple Computer, Inc.