Transparent windows (was Re: dock related question)
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