On Thu, Sep 29, 2011 at 7:42 AM, Nick <eveningn...@gmail.com> wrote:
> 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.

Why does the document need key up and down events? These should almost
always be handled in an NSView subclass.

--Kyle Sluder
_______________________________________________

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