• 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: 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

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: Re: Notification of window visible?
  • Next by Date: Qt standalone application with Cocoa Library Crash
  • Previous by thread: Re: Notification of window visible?
  • Next by thread: Re: Notification of window visible?
  • Index(es):
    • Date
    • Thread