• 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: "Visible at Launch" again, with "least" example
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Visible at Launch" again, with "least" example


  • Subject: Re: "Visible at Launch" again, with "least" example
  • From: Dale Jensen <email@hidden>
  • Date: Tue, 3 Jul 2007 18:16:42 -0500

On Jul 3, 2007, at 5:27 PM, Scott Anguish wrote:

On Jul 3, 2007, at 4:33 PM, Dale Jensen wrote:

Lacking response the first time, I'll ask again -- how do I, in a NSDocument based application, prevent the program from displaying (not opening, I do need it to create the window,) an empty window on startup?

Check the documentation

From the "Document-Based Applications Overview", in the "Frequently Asked Questions chapter", in the section "How can I keep my application from creating an untitled document at launch?"

Sorry, I should have made it clearer.

I DO want the application to "create an untitled document at launch", 100% of the time.

I do NOT want the application to make said document window VISIBLE some of the time. I want to be able to make it visible manually later, but it needs to exist at launch, all of the time.

Setting applicationShouldOpenUntitledFile: to NO will not accomplish what I would like to do. I just want control over when the window for the untitled document becomes visible. My belief was that "Visible at Launch" affected that, but apparently it does nothing?


dale

--
a.d. jensen -- email@hidden   http://homepage.mac.com/adjensen/



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: "Visible at Launch" again, with "least" example
      • From: Scott Anguish <email@hidden>
References: 
 >"Visible at Launch" again, with "least" example (From: Dale Jensen <email@hidden>)
 >Re: "Visible at Launch" again, with "least" example (From: Scott Anguish <email@hidden>)

  • Prev by Date: Re: Screen Saver Problems
  • Next by Date: Re: "Visible at Launch" again, with "least" example
  • Previous by thread: Re: "Visible at Launch" again, with "least" example
  • Next by thread: Re: "Visible at Launch" again, with "least" example
  • Index(es):
    • Date
    • Thread