• 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: Document not opened at launch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Document not opened at launch?


  • Subject: Re: Document not opened at launch?
  • From: Daniel Jalkut <email@hidden>
  • Date: Wed, 26 Jul 2006 12:23:43 -0400

Thinking about this a little more - the behavior you're seeing strongly hints at your app overriding the "open event" handler and causing it to be ineffective. Are you implementing any AppleEvent handler routines in your app?

When you double-click the app while it's already open, you're getting a "reopen event" which is apparently not being blocked and allowed to do its default behavior.

Daniel

On Jul 25, 2006, at 9:32 PM, Mark Dawson wrote:

I seem to have lost the ability to open a document at launch--I have to click on the app a 2nd time for my main document to come up. I added the "applicationShouldOpenUntitledFile:" method to my app controller, and it only gets call once I double click a 2nd time on my app. I had been switching around my window controller nib, so I broke something. However, I'm not sure where to look. It just doesn't appear that an initial "open doc" command is being sent. Everything works for the "reopen" case?

Thanks for any hints?

Mark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
sweater.com


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: Document not opened at launch?
      • From: Mark Dawson <email@hidden>
References: 
 >Document not opened at launch? (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: Document not opened at launch?
  • Next by Date: Re: Custom window with small stoplight
  • Previous by thread: Re: Document not opened at launch? -- [SOLVED]
  • Next by thread: Re: Document not opened at launch?
  • Index(es):
    • Date
    • Thread