• 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: Problems with ApplicationShouldTerminateAfter...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with ApplicationShouldTerminateAfter...


  • Subject: Re: Problems with ApplicationShouldTerminateAfter...
  • From: Robert Cerny <email@hidden>
  • Date: Mon, 23 Feb 2004 13:31:29 +0100

Him
do you have a NSApp's delegate set? This method is controlled by
NSApp's delegate not the window one.

Regards
Robert


On 23.2.2004, at 11:57, Roberto Sobachi wrote:

> I'm trying to implement
>
> - (BOOL) applicationShouldTerminateAfterLastWindowClosed:(id)sender
> {
> return YES;
> }
>
> but when I try to close Last window with the CLOSE button, It doesn't
> close. When I try to clisk icon in dock, it returns me a panel window
> with the text:
> can't create new document. Why?
>
> The last window has the delegate class.
>
>
>
>
>
>
> Roberto Sobachi
> _______________________________________________
> 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.

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
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.

References: 
 >Problems with ApplicationShouldTerminateAfter... (From: Roberto Sobachi <email@hidden>)

  • Prev by Date: Opening NSDocument window in the background
  • Next by Date: Re: Menu
  • Previous by thread: Problems with ApplicationShouldTerminateAfter...
  • Next by thread: Re: Problems with ApplicationShouldTerminateAfter...
  • Index(es):
    • Date
    • Thread