I don't know, what the idea is behind your question. But if it's not the only window, that's displayed in your app, you could change that by making another window the keyWindow or by using unhideWithoutActivation ( NSApplication class )...

For better answers some more information would be neccessary.

-- Reinhard     

Am 07.06.2010 um 03:16 schrieb Chris Idou:



Is it? Can't a window become visible without becoming key?


----- Original Message ----
From: Reinhard Segeler <macmeid...@googlemail.com>
To: Chris Idou <idou...@yahoo.com>
Cc: cocoa-dev@lists.apple.com
Sent: Fri, 4 June, 2010 4:18:03 PM
Subject: Re: Notification of window visible?

The notification NSWindowDidBecomeKeyNotification will do it for you.

-- Reinhard
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.



_______________________________________________

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/macmeideln%40googlemail.com

This email sent to macmeid...@googlemail.com




_______________________________________________

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

Reply via email to