View Single Post
Three

 
Member Since: Nov 26, 2006
Posts: 18
Three is on a distinguished road

Three is offline
I am stuck right now on how to capture the arrow keys.I could just use the key codes but the documentation says they are hardware specific.

According to the docs.
Quote:
Note that some function keys are handled at a lower level and are never seen by your application...
The Arrow keys are considered function keys from what I gather because,

if ([anEvent modifierFlags] & NSFunctionKeyMask ) {
}

will ring TRUE when the arrow keys create an event. I could use a clue as to how I can then test for the constants "NSUpArrowFunctionKey" and his partners?
Every test I have tried so far ring TRUE.
QUOTE Thanks