• 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: Matt Neuburg <email@hidden>
  • Date: Sat, 26 Feb 2005 08:17:23 -0800

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. You might wish to RTFM (hint, look at performKeyEquivalent:). m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide
<http://www.amazon.com/exec/obidos/ASIN/0596005571/somethingsbymatt>



 _______________________________________________
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: Jeremy Dronfield <email@hidden>
  • Prev by Date: Re: Correct usage of replaceOccurencesOfString:withString:options:range
  • Next by Date: Re: NSAffineTransforms not working as expected?
  • Previous by thread: Making NSView respond to command+key equivalent
  • Next by thread: Re: Making NSView respond to command+key equivalent
  • Index(es):
    • Date
    • Thread