Distinguishing displayable vs. functional keys in an event?
Distinguishing displayable vs. functional keys in an event?
- Subject: Distinguishing displayable vs. functional keys in an event?
- From: Dan Wood <email@hidden>
- Date: Tue, 18 Jun 2002 19:40:18 -0700
I'm trying to intercept keydowns events and distinguish the
"displayable" keystroke characterss (the ones that actually add
to a string as they are typed) from the "functional" keystroke
characters (the other ones like up/down arrows, function keys,
etc.) so that I'll know how to process the event -- whether to
use the keystrokes or let the view's superclass process the
event.
I really don't want to hard-wire any string constants into my
code, unless there is some accepted way to do this. Are there
any methods or techniques for determining whether a
string/character is displayable or not?
Dan
--
Dan Wood
Karelia Software, LLC
email@hidden
http://www.karelia.com/
Watson for Mac OS X:
http://www.karelia.com/watson/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.