• 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: Displaying a window?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Displaying a window?


  • Subject: Re: Displaying a window?
  • From: Andy Lee <email@hidden>
  • Date: Wed, 22 May 2002 20:21:33 -0400

At 4:12 PM -0700 5/22/02, Dylan Barrie wrote:
I've figured out how to make the window show up with:

[NSApp runModalForWindow:myWindow];

But since I'm running this from within my awakeFromNib function, the window is displayed before the menu bar changes to reflect that my app is now in the foreground, which is not what I want.

Try adding the application delegate method -applicationDidFinishLaunching: and launching your app's splash window there. The place to look is in the NSApplication class docs.

--Andy
_______________________________________________
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: 
 >Displaying a window? (From: Dylan Barrie <email@hidden>)

  • Prev by Date: Re: Flame retardant
  • Next by Date: Re: Flame retardant
  • Previous by thread: Displaying a window?
  • Next by thread: Re: Displaying a window?
  • Index(es):
    • Date
    • Thread