• 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: Transparent image
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transparent image


  • Subject: Re: Transparent image
  • From: Steve Christensen <email@hidden>
  • Date: Mon, 09 Feb 2009 14:18:33 -0800

Something similar to what you're asking was discussed on this list last week. To get you started:

[window setOpaque:NO];
[window setBackgroundColor:[NSColor colorWithCalibratedWhite:1.0 alpha:0.5]];




On Feb 9, 2009, at 1:55 PM, Christian Graus wrote:

I have a window with an image showing on it. Above this I have a window,
which contains an IKImageView derived class. The IKImageView has a PNG in
it, which has a transparency layer. What I need to do, is to make that
image appear above the image I have in my main window, that is, the control
needs to be transparent, so that one picture appears above another. I've
found a sample that sets the window alpha, but that fades the whole window,
I just want to make the background transparent. I'd appreciate any
suggestions.
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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: Transparent image
      • From: Christian Graus <email@hidden>
    • Re: Transparent image
      • From: Christian Graus <email@hidden>
References: 
 >Transparent image (From: Christian Graus <email@hidden>)

  • Prev by Date: Transparent image
  • Next by Date: Re: Transparent image
  • Previous by thread: Transparent image
  • Next by thread: Re: Transparent image
  • Index(es):
    • Date
    • Thread