• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Notification of window visible?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Notification of window visible?
      • From: Jens Alfke <email@hidden>
References: 
 >Notification of window visible? (From: Chris Idou <email@hidden>)
 >Re: Notification of window visible? (From: Reinhard Segeler <email@hidden>)
 >Re: Notification of window visible? (From: Chris Idou <email@hidden>)

  • Prev by Date: Qt standalone application with Cocoa Library Crash
  • Next by Date: Re: [ANN] Cocoa Talk
  • Previous by thread: Re: Notification of window visible?
  • Next by thread: Re: Notification of window visible?
  • Index(es):
    • Date
    • Thread