On 19/05/2008, at 9:39 PM, ninad walvekar wrote:

hi,
Thank you for the reply regarding background application.

I have few more queries:-

1. Can the same application which is now running in the background be made to work as a normal gui application?

It depends what you want your "normal GUI application to do". LSUIElement applications don't have a menu bar or a dock icon, but can have windows etc. For the application that I've written using this, no menu bar wasn't a problem, but no dock icon was a bit annoying. It depends what you want your application to do.

As far as I know, you can't change the LSUIElement setting for an application at run-time, so if you need a menu bar this isn't going to work for you.


I want to make an application run in the background at login and then make it visible to user when the user wants it to run.

Running at login isn't a problem. "Making it visible when the user wants it to run" might be more of a challenge to design a user interface for.

The alternate design is to have a background-only application which is launched at startup, and a separate GUI application. Without knowing more about your application, I don't know whether you would need to pass any data between these which of course is a bit more complex than a single application.

Cheers,
Brett


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to