displaying NSUpArrowFunctionKey, NSDeleteFunctionKey and friends?
displaying NSUpArrowFunctionKey, NSDeleteFunctionKey and friends?
- Subject: displaying NSUpArrowFunctionKey, NSDeleteFunctionKey and friends?
- From: Jim Correia <email@hidden>
- Date: Wed, 7 Jan 2004 15:38:54 -0500
In NSEvent.h there is an enumeration for special keys that are sent in
an event.
/* Unicodes we reserve for function keys on the keyboard, OpenStep
reserves the range 0xF700-0xF8FF for this purpose. The availability of
various keys will be system dependent. */
enum {
NSUpArrowFunctionKey = 0xF700,
...
NSDeleteFunctionKey
...
NSModeSwitchFunctionKey = 0xF747
};
Is there a mapping table or transform someplace that will turn these
into code points that I can display on the screen (in any of the usual
ways, I'm looking for the same glyph that is displayed in the menubar)
or must I build a mapping table myself?
Thanks,
Jim
_______________________________________________
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.