• 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: Receiving key events in a new window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Receiving key events in a new window


  • Subject: Re: Receiving key events in a new window
  • From: j o a r <email@hidden>
  • Date: Mon, 18 Jul 2005 21:17:36 +0200


On 18 jul 2005, at 19.29, Jonathan del Strother wrote:

While the view is in the new window, it doesn't receive key events - I just get the default system beep. I've tried various combinations of makeKeyAndOrderFront, setInitialFirstResponder, and setNextResponder...nothing seems to work. Any suggestions what I might be missing, or any debugging tips for following key events through the NSResponder chain?

Have you verified that the window is the key window, and that the view actually is the first responder in the window? Also, if it is a borderless window or a panel, it might not accept key window status per default. If you think that this applies to your problem, check the docks for NSWindow / NSPanel for the details, and the answers to similar questions in the list archives.


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: 
 >Receiving key events in a new window (From: Jonathan del Strother <email@hidden>)

  • Prev by Date: CoreData: avoiding unwanted undo states after refreshing manged object contexts?
  • Next by Date: Comparative Testing/Debugging
  • Previous by thread: Receiving key events in a new window
  • Next by thread: CoreData: avoiding unwanted undo states after refreshing manged object contexts?
  • Index(es):
    • Date
    • Thread