Hi everyone,

 

Does exist any way to bind Numpad keys to menu items separately of main
digits? For example that Cmd+1 and Cmd+Numpad_1 would be different
commands.

 

The method NSMenuItem setKeyEquivalent allows to specify only usual
characters, (possible with Shift). Different methods like set "#1" or
set {0x20e3, '1'} don't work also.  setKeyEquivalentModifierMask doesn't
allow to specify NSNumericPadKeyMask (I've checked). 

 

I port one large cross-platform application from carbon to cocoa to be
64-bit native, so changing behavior here is utterly undesirable.

 

 

Yuriy Shevyrov | Software Engineer | GlobalLogic Inc.  
The Global Product Development Leader

USA | INDIA | UKRAINE | CHINA

Grinchenko 2/1, 03038, Kiev, Ukraine

Office:  +380-44-4929695 x 1609

www.globallogic.com <http://www.globallogic.com/> 

 

InfoWorld Award Winner for Agile Innovation
<http://www.globallogic.com/Media/pressReleaseDetail.asp?press/65> 

------------------------------------------------------------------------
-----------------------------------------------------------------------

Backed by Sequoia, NEA and New Atlantic Ventures (part of the DFJ
network), GlobalLogic partners with emerging and established technology
companies to help them accelerate great products to market. GlobalLogic
has developed a unique model that combines distributed Agile methods,
innovative open source-based tools, and global teams of world-class
engineers to dramatically shorten product development cycles.
GlobalLogic has ongoing partnerships with more than 140 technology
companies and has completed over 800 major product releases over the
past six years, including 300 in the last 12 months with a better than
95% on-time delivery. Headquartered in Vienna,Virginia, GlobalLogic has
global development centers in the US, India, China and Ukraine. By
leveraging its InfoWorld award-winning method and platform, GlobalLogic
Velocity(tm), its global facilities and world-class engineers, clients
gain rapid time-to-market, improved quality and reduced development
expense. 

Disclaimer: http://www.globallogic.com/email_disclaimer.txt
<https://webmail.globallogic.com/exchweb/bin/redir.asp?URL=http://www.gl
oballogic.com/email_disclaimer.txt> 

 

_______________________________________________

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