On 16 Jul '08, at 2:53 PM, Matt Neuburg wrote:
Implement keyDown: in the NSWindowController?
keyDown: only gets sent to the key view, whether or not it handles that keystroke. Since the method returns void, there's no way for AppKit to tell whether a responder handled the keystroke or not, so it can't pass it up the chain.
I'm not seeing a reason whyyou need performKeyEquivalent to catch unmodified Esc and letter keys...
Because -performKeyEquivalent:, on the other hand, does return a BOOL, so AppKit sends it to all the views in succession till one returns YES. But it only sends it to the window and views, not delegates.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ 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 [EMAIL PROTECTED]