UIElement app doesn't come to front
UIElement app doesn't come to front
- Subject: UIElement app doesn't come to front
- From: Memo Akten <email@hidden>
- Date: Fri, 19 Sep 2008 11:28:52 +0100
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