Re: NSDocument-oriented app and -keydown
Re: NSDocument-oriented app and -keydown
- Subject: Re: NSDocument-oriented app and -keydown
- From: Kyle Sluder <email@hidden>
- Date: Thu, 29 Sep 2011 08:01:37 -0700
On Thu, Sep 29, 2011 at 7:42 AM, Nick <email@hidden> 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 (email@hidden)
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:
This email sent to email@hidden