Re: Document based application with that auto-new-doc behaviour
Re: Document based application with that auto-new-doc behaviour
- Subject: Re: Document based application with that auto-new-doc behaviour
- From: "Erik M. Buck" <email@hidden>
- Date: Mon, 25 Feb 2002 09:51:32 -0600
- Organization: EMB & Assocites Inc.
You start by reading the archive of messages on this forum or other because
this question gets answered 5 time per month at least.
I am sorry to pick on you, but this is getting ridiculous.
applicationShouldOpenUntitledFile:
- (BOOL)applicationShouldOpenUntitledFile:(NSApplication *)sender
Invoked immediately before opening an untitled file. Return NO to prevent
the application from opening an untitled file; return YES, otherwise. Note
that applicationOpenUntitledFile: is invoked if this method returns YES.
----- Original Message -----
From: "Gerben Wierda" <email@hidden>
To: <email@hidden>; <email@hidden>
Sent: Monday, February 25, 2002 8:15 AM
Subject: Document based application with that auto-new-doc behaviour
>
I am writing a doc-based app that is passive, in the sense that it uses
>
a doc-based approach but the app itself cannot make new documents
>
(though it can change existing temporary non-essential document
>
settings).
>
>
Now, when I start the document, I get automatically a new document,
>
which is senseless because any new document needs to be opened. And when
>
all docs are closed and I reactivate the app, I get another new document.
>
>
How do I stop this behaviour (which in this particular case is
>
absolutely silly)?
>
>
Thanks,
>
>
G
>
>
_______________________________________________
>
MacOSX-dev mailing list
>
email@hidden
>
http://www.omnigroup.com/mailman/listinfo/macosx-dev
_______________________________________________
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.