• 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: modal window and quit menu item
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: modal window and quit menu item


  • Subject: Re: modal window and quit menu item
  • From: Mikael Hakman <email@hidden>
  • Date: Sat, 19 Oct 2013 02:08:40 +0200

Is it an error message that you display at the time your user quits the application?

/Mikael

On Oct 19, 2013, at 1:35 AM, email@hidden wrote:

>
>
> I have done a net search concerning the problem and I have found
> discussions on it, but no solution.
>
> Problem : quit menu stays active
> when a window is presented using [NSApp runModal:window].
>
> Quitting
> causes the menu item to be permanently disabled.
>
> [window
> setPreventsApplicationTerminationWhenModal:] does not work.
>
> My [NSApp
> applicationShouldTerminate:] delegate message postpones the application
> termination as certain cleanup code doesn't work at all when invoked
> from the message.
>
> For now, using a normal window or an asynchronous
> sheet isn't an option without some annoying code rewrite.
>
> Does anyone
> know of a solution to either disable the quit menu item or re-enable the
> quit menu item.
>
> TIA
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >modal window and quit menu item (From: email@hidden)

  • Prev by Date: Re: C functions
  • Next by Date: Re: C functions
  • Previous by thread: modal window and quit menu item
  • Next by thread: Re: modal window and quit menu item
  • Index(es):
    • Date
    • Thread