So I'm trying to develop an app that runs as an NSStatusItem, but it keeps
 bringing itself to the foreground whenever a window belonging to it is
left-clicked on. And that's no good. I want it to stay in the background
at all times -no matter what-(which has to be possible because
Accessibility Inspector and Classic Menu both do it), or failing that, at
least relinquish control back to the previous foreground app after its
window has been closed.

I've got no idea how to accomplish either of those things. My app is
already an LSUIElement, so that doesn't do the trick. LSBackgroundOnly
makes its windows un-focusable, which sucks even harder. There's probably
a simple solution to all of this. But I can't find it. Help?


_______________________________________________

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 arch...@mail-archive.com

Reply via email to