Re: Hiding a running application
Re: Hiding a running application
- Subject: Re: Hiding a running application
- From: Matt Neuburg <email@hidden>
- Date: Fri, 26 Jun 2009 09:50:41 -0700
- Thread-topic: Hiding a running application
On Fri, 26 Jun 2009 12:16:33 -0400, Michael Domino
<email@hidden> said:
>Hello,
>
>My app does some processing at quit time that can take a few minutes, so I
>thought it would be nice to remove the gui from the user¹s attention so they
>don¹t think they can still interact with the program just because there is a
>window and a menu visible. So, I hide the main window and the menubar. Then,
>I bring Finder to the front. The only thing left is the application¹s icon
>in the command-tab list and the Dock, and the entry in the Force Quit
>Applications list.
>
>Is there a way to remove these items?
I would suggest you just badge the icon "Quitting" or the like, similar to
what Transmission does. I find Transmission's way of closing down very
user-friendly, considering how long-winded it is. Alternatively, you could
put up a "Quitting" dialog, like iTunes. And do the work in a background
thread so the user can switch to your app and see that it is present but
busy, rather than being unable to switch to it at all...? 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.tidbits.com/matt/default.html#applescriptthings
_______________________________________________
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