• 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: How to capture Key event in a NSApp?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to capture Key event in a NSApp?


  • Subject: Re: How to capture Key event in a NSApp?
  • From: j o a r <email@hidden>
  • Date: Wed, 18 Oct 2006 00:19:39 +0200


On 17 okt 2006, at 22.36, Raul wrote:

I want to capture the key press "p" event inside NSWindow to print the
NSTextField Text.

I know how to print NSTextField Text but i don't know how to capture
the key press "p" inside NSWindow.

Why do you want to do it this way? What is the problem you're trying to solve?
It's always easier to provide a good answer to a question if you know the background.
You should most likely in any case study the conceptual documentation on NSResponder and the responder chain.


j o a r


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

References: 
 >How to capture Key event in a NSApp? (From: Raul <email@hidden>)

  • Prev by Date: Re: keypress events + responder chain
  • Next by Date: Cocoa Window layered over OpenGL?
  • Previous by thread: How to capture Key event in a NSApp?
  • Next by thread: NSToolbar with NSSearchField crash
  • Index(es):
    • Date
    • Thread