how can I get a keydown (and keyup) events in an NSDocument-oriented
application for a particular document's window?
I'd like to get a control activated/deactivated on the window, depending on
whether the specific key is pressed or released.

I have found this:
http://stackoverflow.com/questions/1526512/nsdocument-and-keyboard-like-keydown

the answer that worked there was to use Carbon Shortcuts, but this does not
let (as i understand) attach the event to the particular window-document, it
is application wide.
How can I receive such an event in an NSDocument's subclass?

Thank you!
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to