I have different menu keys set up in my app for control-4 and 
control-number-pad-4, but it seems that Cocoa is not distinguishing between the 
two. (There are several key equivalents in the number-pad area that are used 
for 
variants on directional motions, ie left, right, up, down, etc, whereas the 
usual digit accelerators are used for more usual tasks, so I need to keep the 
two separate). 


The NSMenu setKeyEquivalent routine takes Unicode key codes, right? I'd like to 
be able to instead specify the key using an Apple key code, ie AK_KP_0..9, 
which 
has separate codes for each flavor. 


Any suggestions on what/how to override to get the correct functionality?


Thanks



      

_______________________________________________

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