• 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: showing the about-box at application start up
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >showing the about-box at application start up (From: Julian Mayer <email@hidden>)

  • Prev by Date: Re: Recommendations for scripting/extension languages for Cocoa apps
  • Next by Date: Re: genstrings and the build system (was Re: Unicode - Converting memory to match NSCell -stringvalue?_
  • Previous by thread: showing the about-box at application start up
  • Next by thread: tableViewSelectionIsChanging
  • Index(es):
    • Date
    • Thread