• 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
Transparent windows (was Re: dock related question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Transparent windows (was Re: dock related question)


  • Subject: Transparent windows (was Re: dock related question)
  • From: Uli Kusterer <email@hidden>
  • Date: Sun, 12 Mar 2006 01:13:34 +0100

Am 11.03.2006 um 23:41 schrieb Alan Smith:
I am working on my dock enhancement and I want it to be partially
transparent, like the dock. But when I subclass the window and set it's
alphaValue it makes the stuff on it transparent too. The stuff is in
separate views if that makes things easier.

That's what setAlpha is for. It sets the window's alpha. What you probably want is to setOpaque:NO and to use a borderless window. You may also have to set the window's background color to something reasonably transparent instead of the standard striped pattern.


I think there's a custom window example in /Developer/Examples somewhere that demonstrates doing this at least partially.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Transparent windows (was Re: dock related question)
      • From: "Alan Smith" <email@hidden>
References: 
 >dock related question (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: CoreData validation strangeness
  • Next by Date: Re: complicated (I think) Binding
  • Previous by thread: dock related question
  • Next by thread: Re: Transparent windows (was Re: dock related question)
  • Index(es):
    • Date
    • Thread