On Fri, Mar 28, 2008 at 12:52 AM, John Stiles <[EMAIL PROTECTED]> wrote:

>  However, I have a few menu items which respond to atypical hotkeys (e.g.
>  one responds to "space", another to "option+X"). In this case, I've
>  found that the view gets a -keyDown: event, which it dutifully handles,

Perhaps the right way to look at it from the custom view's perspective
is not "should this be handled by the menu?" but "should this be
handled by me?"

If the answer to the latter question is "no", you should call "[super
keyDown:]". If the answer is "yes", you have an ambiguity in your
keyboard shortcuts.

Hamish
_______________________________________________

Cocoa-dev mailing list ([email protected])

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]

Reply via email to