• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Looking for a way to set alpha value of Desktop icons
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Looking for a way to set alpha value of Desktop icons
      • From: David Duncan <email@hidden>
    • Re: Looking for a way to set alpha value of Desktop icons
      • From: Sam Stigler <email@hidden>
References: 
 >Looking for a way to set alpha value of Desktop icons (From: Sam Stigler <email@hidden>)

  • Prev by Date: Looking for a way to set alpha value of Desktop icons
  • Next by Date: Re: Mouse position from NSEvent starts at (0, 1) ?
  • Previous by thread: Looking for a way to set alpha value of Desktop icons
  • Next by thread: Re: Looking for a way to set alpha value of Desktop icons
  • Index(es):
    • Date
    • Thread