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 (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 [EMAIL PROTECTED]

Reply via email to