Re: Looking for a way to set alpha value of Desktop icons
Re: Looking for a way to set alpha value of Desktop icons
- Subject: Re: Looking for a way to set alpha value of Desktop icons
- From: Andrew Farmer <email@hidden>
- Date: Mon, 21 May 2007 03:02:30 -0700
On 21 May 07, at 02:45, Sam Stigler wrote:
I just saw in a MacInTouch thread (http://www.macintouch.com/
readerreports/apple/index.html#may18), and then confirmed for
myself in Quartz Debug, that Desktop icons are actually windows.
It strikes me it would be really great if I could make a proof-of-
concept program that retrieves an array (of NSWindow objects) of
all the items on the Desktop (or even all the Finder windows
currently open), and then allow the user to set their alpha
values. Does anyone have any tips as to how I could go about
trying to get that array, or even if it's possible?
There's no officially supported way to do that - those windows don't
belong to your application, so there aren't any NSWindow objects in
your memory space that correspond to them. There are some
undocumented functions which may help, though; go search for
"CGSPrivate.h". You won't be disappointed.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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