• 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: quit on restart even with sheet?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quit on restart even with sheet?


  • Subject: Re: quit on restart even with sheet?
  • From: Matt Neuburg <email@hidden>
  • Date: Tue, 07 Mar 2006 08:02:41 -0800
  • Thread-topic: quit on restart even with sheet?

On Mon, 6 Mar 2006 23:33:31 -0500, Erik Buck <email@hidden> said:
>Does this help you ? http://www.stepwise.com/Articles/2006/eb1/
>index.html

No. I didn't say I was having trouble if the user says "quit" while a sheet
is showing - that one is easy to solve. I said I was having trouble if the
user says "restart" while a sheet is showing. Your project doesn't solve
that (try it for yourself). Your project naturally relies on overrriding
terminate: but as I said in my original note, terminate: is not even called
when the user says "restart" and a sheet is showing. m.

>> I'd like my app to quit when the user restarts or logs out - even though a
>> sheet may be showing. (In effect, I'd like to close the sheet and proceed.) I
>> have overridden NSApp terminate: and I've installed an AE handler for
>> aevt\quit, but terminate: is not being called and aevt\quit is not arriving.
>> What can I do? Thx - m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



 _______________________________________________
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

  • Prev by Date: Re: sudo shutdown -c now
  • Next by Date: Re: Add and Edit a table row
  • Previous by thread: Re: quit on restart even with sheet?
  • Next by thread: Can't add item to XCode Target Info Build Panel
  • Index(es):
    • Date
    • Thread