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

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

References: 
 >dock related question (From: "Alan Smith" <email@hidden>)
 >Transparent windows (was Re: dock related question) (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: CoreData validation strangeness
  • Next by Date: Re: NSLog(@"%@",[NSProxy class]);
  • Previous by thread: Transparent windows (was Re: dock related question)
  • Next by thread: good values for MDQueryBatchingParams
  • Index(es):
    • Date
    • Thread