How to determine where the kAEQuitApplication event from when on the method of [NSApplication applicationShouldTerminate] of a cocoa application
How to determine where the kAEQuitApplication event from when on the method of [NSApplication applicationShouldTerminate] of a cocoa application
- Subject: How to determine where the kAEQuitApplication event from when on the method of [NSApplication applicationShouldTerminate] of a cocoa application
- From: "jacky.zhu" <email@hidden>
- Date: Sun, 20 Feb 2005 17:06:27 +0800
- Importance: Normal
Title: Message
hi
all,
In my application, how
can I determine the cause of applicationShouldTerminate of NSApplication being
invoked?
I would like to keep
the application from being closed , so I let it always return NO. However, this
gives rise of another problem, the system can't reboot or logout
because this application reject to quit.
How can I do that
?
Would any nice guy
help me? Any idea is helpful.
Thanks & Best
Regards,
Jacky
Zhu
_______________________________________________
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