Re: Notification of window visible?
Re: Notification of window visible?
- Subject: Re: Notification of window visible?
- From: Alastair Houghton <email@hidden>
- Date: Mon, 7 Jun 2010 10:09:16 +0100
On 7 Jun 2010, at 02:16, Chris Idou wrote:
> Is it? Can't a window become visible without becoming key?
Indeed. NSWindowDidBecomeKeyNotification won't do it for you.
You might be able to use NSWindowDidUpdateNotification for this, since you'll get one of these before the window is displayed on screen. If you test -isVisible when you receive this notification, I think you'll get what you need.
Not that I've tried this, mind. It's just a thought.
Kind regards,
Alastair.
--
http://alastairs-place.net
_______________________________________________
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