• 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: Opacity in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opacity in IB


  • Subject: Re: Opacity in IB
  • From: Nathan Day <email@hidden>
  • Date: Fri, 1 Mar 2002 20:20:21 +1030

You have to set the window to be not opaque with [NSWindow setOpaque:NO]. By default it's yes which I guess means it can do things more efficiently when not worrying about alpha values.

On Friday, March 1, 2002, at 08:11 AM, Bishop wrote:

I was trying to make a NSView have some transparancy in IB, I placed it in a window and choosed the level of opacity I wanted. In IB everything now looks nice, I can clearly see the "stripes" of the window through the NSView. But when I run the App (or choose test interface in IB) it looks like the NSView is on a black background. If I have 0% opacity it becomes black and if I have 50% it is gray. Why is this and how do I fix it?

/Bishop
--
Ogden's Law: The sooner you fall behind, the more time you have to catch up.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: carbon windows and NSWindow initWithWindowRef:
  • Next by Date: Solution: Why doesn't this work? (NSURL loadResourceDataNotifyingClient)
  • Previous by thread: Re: How can I hide an NSView properly?
  • Next by thread: Solution: Why doesn't this work? (NSURL loadResourceDataNotifyingClient)
  • Index(es):
    • Date
    • Thread