Re: How to keep a window always in foreground?
Re: How to keep a window always in foreground?
- Subject: Re: How to keep a window always in foreground?
- From: Greg <email@hidden>
- Date: Fri, 4 Jul 2008 17:19:04 -0400
Sorry, suddenly it works, I think that during my attempts at "fixing"
it I had some code running that would cause the setLevel code to be
ineffective. It works now, simply setting the level does the trick.
Just a note to anyone else experiencing problems with this, make sure
that you don't have any other code "trying to make it work". I feel
silly. :-p
- Greg
On Jul 4, 2008, at 2:27 PM, Greg wrote:
On Jul 4, 2008, at 2:17 PM, Markus Spoettl wrote:
I think what you are looking for is the window level:
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSWindow_Class/Reference/Reference.html#/
/apple_ref/doc/uid/20000013-BCICJDAF
Hi, sorry, I meant to say level instead of "layer" in my original
email. I'm already doing this but it doesn't work. The application
that's displaying the window is an LSUIElement hidden application,
if that helps. When it displays the window it *does* go above all
windows, *but* when I switch to the window, and then away from it,
it becomes occluded by whatever I switched to.
- Greg
_______________________________________________
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:
@kinostudios.com
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