Re: Keeping NSWindow below all other windows

2009-10-05 Thread Uli Kusterer
On 03.10.2009, at 20:04, PCWiz wrote: The lowest constant I could find was 0 (NSNormalWindowLevel) and it still positioned itself above other windows. Is there a constant for -1 ? They're CGWindowLevels. Look for kCGDesktopWindowLevel or whatever it was called, that's a better choice.

Re: Keeping NSWindow below all other windows

2009-10-03 Thread Jens Alfke
One oddity of low window levels is that below some level the windows become immune to Exposé, i.e. they stay in place. I think this happens because the Finder's desktop icons are in fact windows at a very low level, and Exposé needs to leave them alone. This can be a useful effect if you wa

Re: Keeping NSWindow below all other windows

2009-10-03 Thread PCWiz
Thanks, that works :-) On 2009-10-03, at 12:14 PM, Alexander Heinz wrote: You could just use (NSNormalWindowLevel - 1). That should be clear to anyone reading the code that you want the level below the lowest. - Alex On Oct 3, 2009, at 2:04 PM, PCWiz wrote: The lowest constant I could find

Re: Keeping NSWindow below all other windows

2009-10-03 Thread Mike Abdullah
So logically you would specify your window to be: [myWindow setLevel:(NSNormalWindowLevel - 1)]; On 3 Oct 2009, at 19:04, PCWiz wrote: The lowest constant I could find was 0 (NSNormalWindowLevel) and it still positioned itself above other windows. Is there a constant for -1 ? On 2009-10-0

Re: Keeping NSWindow below all other windows

2009-10-03 Thread PCWiz
The lowest constant I could find was 0 (NSNormalWindowLevel) and it still positioned itself above other windows. Is there a constant for -1 ? On 2009-10-03, at 11:44 AM, Sherm Pendley wrote: On Sat, Oct 3, 2009 at 1:32 PM, PCWiz wrote: On 2009-10-03, at 10:44 AM, Ron Fleckner wrote: [

Re: Keeping NSWindow below all other windows

2009-10-03 Thread Sherm Pendley
On Sat, Oct 3, 2009 at 1:32 PM, PCWiz wrote: > > On 2009-10-03, at 10:44 AM, Ron Fleckner wrote: > >> >> [myWindow setLevel:]; >> >> check the docs. > > Thanks, setting the window level to -1 worked :) Don't do that. Magic numbers are considered very poor programming:

Re: Keeping NSWindow below all other windows

2009-10-03 Thread PCWiz
Thanks, setting the window level to -1 worked :) On 2009-10-03, at 10:44 AM, Ron Fleckner wrote: On 04/10/2009, at 3:12 AM, PCWiz wrote: Hi, I have a full screen borderless NSWindow. The problem is that it covers all other windows (Finder windows and app windows). How do I make it so th

Re: Keeping NSWindow below all other windows

2009-10-03 Thread Ron Fleckner
On 04/10/2009, at 3:12 AM, PCWiz wrote: Hi, I have a full screen borderless NSWindow. The problem is that it covers all other windows (Finder windows and app windows). How do I make it so that the window is kept below ALL other windows. Thanks [myWindow setLevel:]; check the docs. ___

Keeping NSWindow below all other windows

2009-10-03 Thread PCWiz
Hi, I have a full screen borderless NSWindow. The problem is that it covers all other windows (Finder windows and app windows). How do I make it so that the window is kept below ALL other windows. Thanks ___ Cocoa-dev mailing list (Cocoa-dev@list