Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!samsung!usc!apple!kazim From: kazim@Apple.COM (Alex Kazim) Newsgroups: comp.sys.mac.programmer Subject: Re: Option Key and the Keyboard Driver, Red Ryder Summary: Uh, is this right? Message-ID: <36863@apple.Apple.COM> Date: 29 Nov 89 21:02:29 GMT References: <1578@intercon.com> Organization: Apple Computer Inc, Cupertino, CA Lines: 19 In article ml10+@andrew.cmu.edu (Michael A. Libes) writes: > >These are probably a bit too much effort for your need. When you get a >keyDown or autoKey event, the message field of the event contains two >integers. The loword of the message is the extended ascii value of the >key and this is modified by option. The hiword, however is the keycode >of the pressed key and the modifiers field contains all the modifiers >which were pressed at the time of the event. The keycodes for all the Uh, this is fine for a keydown event, but what about dead keys. I had thought, and this is off the top of my head, that option-e will not generate a keyDown event. If this is the case, then you won't be able to trap out the dead keys opt-e, opt-`, etc. Of course, I could be wrong... ======================================================================= Alex Kazim, Apple Computer On a dark desert highway... =======================================================================