Re: KeyDown woes =(
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