Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!sol.ctr.columbia.edu!caen!kuhub.cc.ukans.edu!mlab2 From: mlab2@kuhub.cc.ukans.edu Newsgroups: comp.sys.mac.programmer Subject: Re: Missing key-up events Message-ID: <26477.2731f060@kuhub.cc.ukans.edu> Date: 3 Nov 90 03:17:03 GMT References: <1990Nov3.000228.15849@portia.Stanford.EDU> Organization: University of Kansas Academic Computing Services Lines: 21 In article <1990Nov3.000228.15849@portia.Stanford.EDU>, stevea@portia.Stanford.EDU (Steve Aronson) writes: > Hi, > I have a program written in Think C where I track key-up and key-down > events. I set a boolean to be TRUE on key-down and then set it > to FALSE on key-up for a given key. My problem is that sometimes a key-up > event is not generated for a corresponding key-down event. > Thanks, > > Steve I too have encountered this problem but with LSPascal. I have seen it suggested that it is a KeyUpMask default. However, I have set the event mask to everyEvent and still have similar problems. Is this just a symptom of my Mac Plus? BTW, in Glypha I got around this by including a GetKeys call in every pass through the main loop, but I've always thought this was a cludgy thing to do. Has anyone been able to get keyUp events to work _reliably_? Thanks also, john calhoun (aka soft dorothy)