How to not open a new document at app start up (init NSDocument or NSWindowController ?)
How to not open a new document at app start up (init NSDocument or NSWindowController ?)
- Subject: How to not open a new document at app start up (init NSDocument or NSWindowController ?)
- From: jean-michel daix <email@hidden>
- Date: Fri, 11 Oct 2002 12:03:33 +0200
Hi !
I've got a Document Based Application and I want the user to choose in a
preferences panel if a new document should open automatically when launching
application. My preferences panel works but I don't know how to cancel the
opening of my document windows.
I try to find a topic in the mailing list but I found nothing so here are my
questions :
1) Does somebody know where to find a documentation or a sample code about
that ?
2) If not, How to do that ? Should I modify my Document class or Window
Controller class to cancel the opening ?
Thanks for your help !
-----------------------------------
Jean-Michel DAIX / <email@hidden>
Sorry, I9m French !
visit <
http://www.adforum.com>
_______________________________________________
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.