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: Markus Spoettl <email@hidden>
- Date: Fri, 4 Jul 2008 11:17:01 -0700
On Jul 4, 2008, at 10:51 AM, Greg wrote:
I've searched the list but haven't been able to find out how to
*always* keep a window in the foreground. If you set the layer on
it and display it, it will appear above all windows, but you can
still obscure it by switching to another application. How do I keep
it floating in front regardless of what application is active?
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
Regards
Markus
--
__________________________________________
Markus Spoettl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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