• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: keyEquivalentModifierMask problems with Shift
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keyEquivalentModifierMask problems with Shift


  • Subject: Re: keyEquivalentModifierMask problems with Shift
  • From: j o a r <email@hidden>
  • Date: Thu, 20 Jun 2002 07:14:04 +0200

Not as far as I know - and for me this is a "bug without workaround" - since AFAIK there isn't a one-to-one relationship with all shifted / non-shifted characters from a keyboard (there might be for plain letters, but not all characters on a keyboard are letters).

I have reported this to RadarWeb (Case 2919862 for you Apple engineers out there, still open but not touched for a couple of months now...). In that case I request that NSMenuItem should return information in the same way that a key event NSEvent does, or that at the very least the right modifier mask be returned and not stripped from information like this.

If I am wrong in my assumptions about this - ie. if there are workarounds to this problem - I would very much appreciate to learn about some form of solution!
In my case I cannot use stuff from Carbon or Core Foundation, since I need to keep compatibility with older versions of Cocoa (namely the Yellow Box for Windows).

j o a r

On Thursday, Jun 20, 2002, at 01:08 Europe/Stockholm, Rosyna wrote:

I have a menu item in a nib. This menu item has a key command of Command-Shift-P however, when I call keyEquivalentModifierMask on the menu item, only the command key is returned. The Shift key is not. Is there anyway to get the shift key as well?
_______________________________________________
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.

References: 
 >keyEquivalentModifierMask problems with Shift (From: Rosyna <email@hidden>)

  • Prev by Date: If ioctl Disabled & IOKit Don't Do It, Then What
  • Next by Date: "." in key path / NSKeyValueCoding
  • Previous by thread: keyEquivalentModifierMask problems with Shift
  • Next by thread: Re: Neep help implementing Resizing...
  • Index(es):
    • Date
    • Thread