Re: put view between desktop and icons
Re: put view between desktop and icons
- Subject: Re: put view between desktop and icons
- From: Lorenzo <email@hidden>
- Date: Tue, 15 Feb 2005 19:52:06 +0100
Hi Uli,
I have just seen your suggestion in the Cocoa list (reported below). It
sounds a good solution, I put the window "between desktop layer and icons"
using
[myWindow setLevel:kCGDesktopWindowLevel];
It works well. Thank you. The problem is that when I deactivate my
application, myWindow disappears as well... Instead I would like it stays
fixed there. How can I do that? I can even set my application's icon should
not appear in the dock, but, if I click on some other application window
holding down the ALT key, myWindow still disappears.
Any solution?
Best Regards
--
Lorenzo
email: email@hidden
> Date: Sun, 4 Jul 2004 16:09:31 +0200
> To: email@hidden, email@hidden
> From: "M. Uli Kusterer" <email@hidden>
> Subject: put view between desktop and icons (was Re: Misc questions)
>
> At 19:51 Uhr +0100 03.07.2004, email@hidden wrote:
>> i've searched the archives for information on both subjects but i couldn't
>> find what i need in neither of them.
>
> In the future, you may want to use two separate threads for two
> separate questions. If the subject contains the question, people who
> know something about the topic will notice them more easily and it's
> more likely you get a response.
>
>> - does itunes support plug-ins other than visual? if so, where can i find
>> documentation available on that subject?
>
> AFAIK iTunes only uses QuickTime codecs and visuals as plugins. I
> don't think there are any others. But I may be wrong.
>
>> - how can i put a view between the desktop picture and the active windows
>> and desktop icons?
>
> Change the window level. (setLevel: or setLayer: or something like
> that). Somewhere in CoreGraphics, there's a couple of constants like
> kCGDesktopWindowLevel, kCGDesktopIconsWindowLevel (or something to
> that effect), and if you use that level, your window can be behind
> the desktop (pretty pointless, usually), between the desktop and the
> Finder's icons, or immediately in front of the icons but behind other
> windows. There are other window levels that let you do even cooler
> things.
> --
> Cheers,
> M. Uli Kusterer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden