Re: Notification of window visible?
Re: Notification of window visible?
- Subject: Re: Notification of window visible?
- From: Ken Thomases <email@hidden>
- Date: Mon, 7 Jun 2010 05:31:39 -0500
> Am 04.06.2010 um 07:11 schrieb Chris Idou:
>
>> How does one get notification that a window has become visible? I
>> can see notifications for most every type of window event except
>> this most obvious one.
Why do you need such a notification? Windows don't "spontaneously" become visible unbeknownst to your code. Why do you need a "passive" notification of the occurrence. Your code is actively causing the window to become visible, so you should consequently know when it does.
In other words, if you need to do something when a window becomes visible, do it immediately following whatever it is that you do to make it visible, such as loading the NIB (if it's marked as visible on load) or when you order it in.
Regards,
Ken
_______________________________________________
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