• 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
Hide app when in modal for window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Prev by Date: Re: How to build a popup menu and show this menu?
  • Next by Date: Re: NSXMLParserErrorDomain 4
  • Previous by thread: Re: libpq.a for intel mac
  • Next by thread: Making all a doc's windows come forward when one does
  • Index(es):
    • Date
    • Thread