• 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
Re: UIElement app doesn't come to front
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >UIElement app doesn't come to front (From: Memo Akten <email@hidden>)
 >Re: UIElement app doesn't come to front (From: Fabian <email@hidden>)

  • Prev by Date: Re: UIElement app doesn't come to front
  • Next by Date: How to hide disclosure triangle in NSOutlineView [10.5]?
  • Previous by thread: Re: UIElement app doesn't come to front
  • Next by thread: Deleting Alias
  • Index(es):
    • Date
    • Thread