Secondary doc window connection
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.