• 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
How to not open a new document at app start up (init NSDocument or NSWindowController ?)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: How to not open a new document at app start up (init NSDocument or NSWindowController ?)
      • From: Chris Ridd <email@hidden>
  • Prev by Date: Re: Cocoa & C++ Protected Member Functions
  • Next by Date: Toronto cocoa programmers?
  • Previous by thread: Re: NSMatrix with radio buttons - problem detecting states
  • Next by thread: Re: How to not open a new document at app start up (init NSDocument or NSWindowController ?)
  • Index(es):
    • Date
    • Thread