Re: How to keep a window always in foreground?

2008-07-04 Thread Gregory Weston
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/2013-BCICJDAF Hi, sorry, I

Re: How to keep a window always in foreground?

2008-07-04 Thread Greg
Oh! Actually, it was because the window was being run as modal. Make sure the window is not being run in a modal loop and it should work. - Greg On Jul 4, 2008, at 5:19 PM, Greg wrote: Sorry, suddenly it works, I think that during my attempts at "fixing" it I had some code running that wo

Re: How to keep a window always in foreground?

2008-07-04 Thread Greg
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'

Re: How to keep a window always in foreground?

2008-07-04 Thread Greg
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/2013-BCICJDAF Hi, sorry, I meant to say le

Re: How to keep a window always in foreground?

2008-07-04 Thread Markus Spoettl
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 to keep a window always in foreground?

2008-07-04 Thread Greg
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 regar