Two mnemonics in Cocoa
Two mnemonics in Cocoa
- Subject: Two mnemonics in Cocoa
- From: Chad Armstrong <email@hidden>
- Date: Thu, 21 Nov 2002 00:48:08 -0700
Is it possible to assign two mnemonics or key combinations to one
command? What I'd like to do is something similar in Photoshop when the
user types either Command + or Command = will zoom in. I've found some
functions which can tell if a META key such as Command, Option or Shift
was pressed, but I'm not quite certain how I might use that
functionality to check if a particular key combination was pressed.
Granted, the Interface Builder allows for one key combo to be assigned
to a particular button or menu item, but I would like to have two key
combinations joined to the same functionality.
Regards,
Chad Armstrong
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.