On 22 Apr 2016, at 15:23, Dave <[email protected]> wrote: > Is there any way of “pinning” one of my App’s windows so it is always in > front of a window owned by another application? I’m using a Floating Window > style at the moment, which works ok, but the window floats in fronts of > everything. I’d like my window to always be just in front of the target > window. Is this possible?
Not really. That said, there are numerous answers depending on your concrete circumstances, like: - Who owns the other application (are you developer of both, or are they willing to help, or do they offer plugin mechanisms), or is it maybe a particular application (e.g. Finder keeps the desktop background in a separate window from the one holding the icons, so you can sneak a window in between, and also offers Finder Sync extension API). - What your window does. (Sometimes it looks like you need your own UI, when really just using a Service that adds a contextual menu item can get your functionality in the other app and make it look built-in to the user) - Whether you want in the app store. If not, you could theoretically inject your own code into another app and then add your own views or windows (but this has a lot of potential to break the other app, so isn't very popular and very hard to get right) Cheers, -- Uli Kusterer "The Witnesses of TeachText are everywhere..." http://stacksmith.org _______________________________________________ Cocoa-dev mailing list ([email protected]) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
