Re: Opening only one document at a time
Re: Opening only one document at a time
- Subject: Re: Opening only one document at a time
- From: tekuriscocoalist <email@hidden>
- Date: Thu, 23 Mar 2006 19:16:58 +0000
Hi,
You don't say why you want to do this and you should probably
consider it carefully, if you decide to continue you should look at
NSMenuValidation to enable/disable the Open and New menu items if you
already have a document open and look at the various NSApplication
delegate methods that relate to opening documents.
Wain
On 23 Mar 2006, at 04:36, Michael Swan wrote:
Hello all,
I am trying to find a way to make it so that my app only has one
document open at a time. I tried searching the documentation and
found nothing (I thought there was a method like
appShouldOpenMultipleDocs or something). I also tried searching the
list archives and only got error messages that the search header
was too big. I would welcome any suggestions.
Thanks
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden