• 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
Secondary doc window connection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Secondary doc window connection


  • Subject: Secondary doc window connection
  • From: Justin Lundy <email@hidden>
  • Date: Tue, 25 Mar 2003 09:19:36 -0800

I have a NSDocument that semi-acts as a doc. controller for secondary windows, and I want to be able to call the print from the File menu for these secondary windows. In order for the actual NSDocumentController is still see a currentDocument when a secondary window is main, I have to setDocument of the secondary window to it's parent. The problem with this is that if I have unsaved changes to the document when I close the secondary window, I get prompted to save the document, but I don't want it to. Also, I don't want the secondary window to show up as dirty, even if the document has unsaved changes.
Any suggestions? Examples would be greatly appreciated.

- Justin
_______________________________________________
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: Secondary doc window connection [SOLVED]
      • From: Justin Lundy <email@hidden>
  • Prev by Date: RE: application not quitting
  • Next by Date: RE: String subtraction
  • Previous by thread: Ranchero XMLRPC Cocoa Class Issues
  • Next by thread: Re: Secondary doc window connection [SOLVED]
  • Index(es):
    • Date
    • Thread