• 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: Making NSView respond to command+key equivalent
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making NSView respond to command+key equivalent


  • Subject: Re: Making NSView respond to command+key equivalent
  • From: Jeremy Dronfield <email@hidden>
  • Date: Sun, 27 Feb 2005 12:05:22 +0000


On 26 Feb 2005, at 4:17 pm, Matt Neuburg wrote:

On Thu, 24 Feb 2005 19:47:32 +0100, Arthur VIGAN <email@hidden>
said:
my application has just a window (no title bar) that can become key
window, containing an NSView subclass. The view responds to keyDown:
events perfectly well, but when I press commad+key, my keyDown: method
is not called anymore. How can I fix this?

There is nothing to fix. Cocoa is behaving in accordance with the
documentation, which says that command+key does not result in keyDown: being
called.

Where exactly does it say this? If it does make such a bald statement, then it is incorrect. I suspect Arthur's command+key clashes with one of his menu item key equivalents. This will result in -keyDown: not being called.


Regards,

-Jeremy

===================================
SkoobySoft, home of viJournal and Skooby Renamer
email: email@hidden or visit:
http://freespace.virgin.net/jeremy.dronfield/skoobysoft.html
===================================

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Making NSView respond to command+key equivalent
      • From: Matt Neuburg <email@hidden>
References: 
 >Re: Making NSView respond to command+key equivalent (From: Matt Neuburg <email@hidden>)

  • Prev by Date: Re: Quickest Way to Open an NSTextAttachment in NSTextView
  • Next by Date: Re: Loading Cocoa Bundles
  • Previous by thread: Re: Making NSView respond to command+key equivalent
  • Next by thread: Re: Making NSView respond to command+key equivalent
  • Index(es):
    • Date
    • Thread