NSDeleteFunctionKey question

Leonid Romanov leonid.romanov at oracle.com
Tue Jan 17 06:26:15 PST 2012


Hi!
Apparently, pressing Delete key on a PC keyboard results in [event charactersIgnoringModifiers] having NSDeleteFunctionKey as a character, which seems to be from the unicode range reserved
for Apple. This is not what AWT expects. Is it OK to simply replace NSDeleteFunctionKey with NSDeleteCharacter before passing it up to AWT, or there is some additional Cocoa-fu required?

Thanks,
Leonid.



More information about the macosx-port-dev mailing list