Re: "Visible at Launch" again, with "least" example
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