Re: How do I display a sheet as soon as the main window has displayed
Re: How do I display a sheet as soon as the main window has displayed
- Subject: Re: How do I display a sheet as soon as the main window has displayed
- From: Robert Clair <email@hidden>
- Date: Wed, 7 Feb 2007 13:53:35 -0500
You could also register to receive this notification in your code:
[ [NSNotificationCenter defaultCenter]
addObserver: observingObject
selector: @selector(windowBecameVisible:)
name: @"_NSWindowDidBecomeVisible"
object: theWindow ];
and it the observingObject
- (void)windowBecameVisible:(NSNotification *)notification
{
// whatever
}
All the usual warnings about undocumented features apply.
You could then file a bug. I don't see why this should be a secret
notification.
....Bob Clair
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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