Re: Starting window instead of a new untitled document?
Re: Starting window instead of a new untitled document?
- Subject: Re: Starting window instead of a new untitled document?
- From: PGM <email@hidden>
- Date: Wed, 2 Aug 2006 10:49:23 -0400
I think you misunderstood my post. I want to put up a dialog (sort
of like the "starting points" window in AppleWorks) when the user
starts the application but doesn't open any documents.
windowControllerDidLoadNib doesn't get called if the user doesn't
open a document.
But thanks for the suggestion anyway.
Cheers,
James
Sorry, I think I reflected too much on my own situation. Stupid as
you actually wrote the important bits in capitals to make it even
more obvious....
Now that I think of it, you could still use the same method in
combination with a special form of
applicationShouldOpenUntitledFile: that returns YES at application
startup (using a flag for that in your app delegate), but NO
otherwise. However, there are possibly much better ways to do this.
Good luck, Patrick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden