On Jan 11, 2011, at 1:31 PM, Michael Crawford wrote:

> Documentation says NSWindowController inherits from NSResponder.
> 
> Besides, I was getting the events.  I just don't understand what this message 
> is and why it is being tossed out every 7 keyDown messages.
> 
> http://developer.apple.com/library/mac/#documentation/cocoa/Reference/ApplicationKit/Classes/NSWindowController_Class/Reference/Reference.html
> 


You probably have a view in the responder chain that isn't calling super. 
Therefore, you have to subclass higher in the responder chain (maybe the view).

corbin



> -Michael
> 
> On Jan 11, 2011, at 4:25 PM, Seth Willits wrote:
> 
>> On Jan 11, 2011, at 11:17 AM, Michael Crawford wrote:
>> 
>>> I'm trying to process a simple keyDown event by overriding -keyDown on the 
>>> NSWindowController derived class for my main window.
>> 
>> The NSWindowController doesn't receive events, only views do.
>> 
>> 
>> --
>> Seth Willits
>> 
>> 
>> 
>> _______________________________________________
>> 
>> 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/michaelacrawford%40me.com
>> 
>> This email sent to michaelacrawf...@me.com
> 
> _______________________________________________
> 
> 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/corbind%40apple.com
> 
> This email sent to corb...@apple.com

_______________________________________________

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