Re: Catching events in an empty window.
Re: Catching events in an empty window.
- Subject: Re: Catching events in an empty window.
- From: Daniel Staal <email@hidden>
- Date: Fri, 03 Aug 2007 22:54:57 -0400
--As of August 3, 2007 8:47:29 PM -0600, Brian Smith is alleged to have
said:
You may need to override canBecomeKeyWindow and canBecomeMainWindow to
return YES as the NSWindow's reference document states that these return
YES if the window has a titlebar otherwise it returns NO. So, your
makeKeyAndOrderFront probably does not make the window key.
--As for the rest, it is mine.
Ah, I knew I was probably overlooking something simple like that...
Thanks.
Daniel T. Staal
---------------------------------------------------------------
This email copyright the author. Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes. This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---------------------------------------------------------------
_______________________________________________
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