Re: UIElement app doesn't come to front
Re: UIElement app doesn't come to front
- Subject: Re: UIElement app doesn't come to front
- From: Memo Akten <email@hidden>
- Date: Fri, 19 Sep 2008 15:37:01 +0100
thanks, that did it...
On 19 Sep 2008, at 15:18, Fabian wrote:
Try [NSApp activateIgnoringOtherApps:YES];
HTH.
On Fri, Sep 19, 2008 at 12:28 PM, Memo Akten <email@hidden> wrote:
I want to create a very simple little app that launches a window at
startup,
and then runs in the background with no dock and menu.
I've created the app as a standard cocoa app, extending NSApplication
overriding init (set delegate to self) and
applicationDidFinishLaunching to
setup a timer (and applicationWillTerminate to cleanup) - I've also
set
'Application is agent' to true in Info.plist.
When I start the app from Xcode, my window opens, when I close it
the window
dissappears and my app carries on running in the background as
expected.
But when i run the app from finder, my window appears at the very
back of
all other windows so isn't visible, how can I fix this?
_______________________________________________
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
_______________________________________________
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