On 16/02/2011, at 2:36 PM, Randy Widell wrote:

> I have a view displaying waveforms.  I would like to have a keyboard shortcut 
> that tags a location on the waveforms at the location of the mouse cursor.  
> These commands do not make any sense in the main menu...they could go there, 
> but they would be clutter.


Just override -keyDown: in your view and do whatever you want. Note though that 
your key equivalents can't be command-<letter> because they are processed as 
menu equivalents separately.

--Graham


_______________________________________________

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