Re: showing the about-box at application start up
Re: showing the about-box at application start up
- Subject: Re: showing the about-box at application start up
- From: publiclook <email@hidden>
- Date: Sat, 31 May 2003 17:28:56 -0400
initialize, init, awakeFromNib all happen too soon.
See
- (void)applicationDidFinishLaunching:(NSNotification *)aNotification
Sent by the default notification center after the application has been
launched and initialized but before it has received its first event.
aNotification is always an NSApplicationDidFinishLaunchingNotification.
You can retrieve the NSApplication object in question by sending object
to aNotification. The delegate can implement this method to perform
further initialization. If the user started up the application by
double-clicking a file, the delegate receives the application:openFile:
message before receiving applicationDidFinishLaunching:.
(applicationWillFinishLaunching: is sent before application:openFile:.)
See Also: finishLaunching, applicationDidBecomeActive:
On Friday, May 30, 2003, at 03:08 PM, Julian Mayer wrote:
hello
i'm trying to display my about-box at application start-time, but i
can't get it to display in front of my main window.
i tried adding
[[NSApplication sharedApplication] orderFrontStandardAboutPanel:self];
in the various initialization routines (initialize, init, awakeFromNib)
and calling
[window orderBack:self];
to get my window to the back, but it is still in front of the about
box...
any ideas?
thanks, julian
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.