Re: Transparent windows (was Re: dock related question)
Re: Transparent windows (was Re: dock related question)
- Subject: Re: Transparent windows (was Re: dock related question)
- From: "Alan Smith" <email@hidden>
- Date: Sat, 11 Mar 2006 22:23:06 -0500
Yeah, okay. It worked. I used:
[theWindow setBackgroundColor: [NSColor colorWithCalibratedWhite:1.0 alpha:
0.3]]
and it works like a charm. It looks exactly like the dock. Beautiful.
Thanks Uli, Alan
P.S. I've been to your site Uli, and it's awesome.
On 3/11/06, Uli Kusterer <email@hidden> wrote:
> 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