Hide app when in modal for window
Hide app when in modal for window
- Subject: Hide app when in modal for window
- From: PGM <email@hidden>
- Date: Thu, 23 Feb 2006 21:06:41 -0500
Hi!
I have a document-based application that performs very lengthy
calculations and displays the progress in a modal window (and in the
Dock-icon). The modal window is necessary since I can't use sheets as
the calculations depend on the data in more than a single document. The
problem is that while performing these calculations, my application
does not hide when the user chooses "Hide Others" from another
application. This is quite annoying as I suspect that most users will
want to do other things while my app is working in the background and
may not want to have my app visible all the time.
Is there any way in which I can respond to the "hide others" command
and hide my app programmatically? I have tried
NSApplicationWillHideNotification, but that does not get called when my
program is in a modal.
Thanks, Patrick
_______________________________________________
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