• 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
Re: Preventing New Document on Open
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing New Document on Open


  • Subject: Re: Preventing New Document on Open
  • From: todd ransom <email@hidden>
  • Date: Wed, 2 Mar 2005 23:53:27 -0700

- (BOOL) applicationShouldOpenUntitledFile: (NSApplication *)sender;

is an application delegate method. Override it and return NO.

TR

On Mar 2, 2005, at 11:18 PM, Seth Willits wrote:

Hi,


applicationShouldHandleReopen:has​VisibleWindows: works great for handling whether to create a new document or not when the application is reactivated, but how do you handle it when the application first starts up? I can think of some hackish ways of doing it, but they seem icky.



--
Seth Willits
_______________________________________________
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
 _______________________________________________
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

  • Follow-Ups:
    • Re: Preventing New Document on Open
      • From: Seth Willits <email@hidden>
References: 
 >Preventing New Document on Open (From: Seth Willits <email@hidden>)

  • Prev by Date: Table Column Drawing Weirdness
  • Next by Date: Re: Preventing New Document on Open
  • Previous by thread: Preventing New Document on Open
  • Next by thread: Re: Preventing New Document on Open
  • Index(es):
    • Date
    • Thread