• 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: KeyDown woes =(
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: KeyDown woes =(


  • Subject: Re: KeyDown woes =(
  • From: Rob Keniger <email@hidden>
  • Date: Sat, 31 Jan 2009 12:12:42 +1000


On 31/01/2009, at 9:45 AM, Seth Willits wrote:

Off the top of my head, I don't remember how this behaves with first responder, but NSPanels have a setting so that they won't become key unless required. My only guess is that's the issue.


Exactly. Borderless windows (and panels) return NO from - (BOOL)canBecomeKeyWindow. You need to subclass the NSPanel and return YES from that method.

--
Rob Keniger



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >KeyDown woes =( (From: David Harper <email@hidden>)
 >Re: KeyDown woes =( (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: animation keys
  • Next by Date: Re: Registering a protocol handler for an App
  • Previous by thread: Re: KeyDown woes =(
  • Next by thread: Determining Previous Front Process
  • Index(es):
    • Date
    • Thread