On Oct 22, 2009, at 4:17 PM, Graham Cox wrote:
What you want is to remove all this stuff and look at [NSPanel setBecomesKeyOnlyIfNeeded:] which deals with whatever is necessary for you. Standard text fields and so on should then work properly.
Duh. That was indeed what I needed to do. My stupidity lies in the fact that I had already tried this and didn't get it to work (and had thus decided to take a different approach), but that was because I had already overridden canBecomeKeyWindow to always return NO and had forgotten about that.
Thanks, Sander _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com