• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Distinguishing displayable vs. functional keys in an event?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Distinguishing displayable vs. functional keys in an event?
      • From: "John C. Randolph" <email@hidden>
    • Re: Distinguishing displayable vs. functional keys in an event?
      • From: Charles Jolley <email@hidden>
  • Prev by Date: Re: Protecting Software w/ Software License Keys...
  • Next by Date: initialFirstResponder and subclass of NSTextView
  • Previous by thread: Re: Protecting Software w/ Software License -- a modest proposal
  • Next by thread: Re: Distinguishing displayable vs. functional keys in an event?
  • Index(es):
    • Date
    • Thread