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: Sam Stigler <email@hidden>
- Date: Mon, 21 May 2007 20:31:02 +1000
Cool. Will do. Thanks for the pointer.
-Sam
http://www.stigler.org/sam/wordpress
On May 21, 2007, at 8:02 PM, Andrew Farmer wrote:
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