• 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: Window With Transparent Background
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window With Transparent Background


  • Subject: Re: Window With Transparent Background
  • From: email@hidden
  • Date: Wed, 25 Jan 2017 09:07:04 +0900

What is the point of a transparent sheet?
I'm not sure that's supported.
You might want to consider a child window instead. Much easier to be sure you can control its behaviors.

Sent from my iPhone

> On Jan 25, 2017, at 2:17, Richard Charles <email@hidden> wrote:
>
> Consider a window presented as a sheet with background transparency.
>
> - (void)windowDidLoad
> {
>    // Produces gray background with transparency.
>    NSColor *color = [NSColor colorWithRed:0.5 green:0.5 blue:0.5 alpha:0.9];
>    self.window.backgroundColor = color;
> }
>
> - (void)windowDidLoad
> {
>    // Produces near white background with no transparency.
>    NSColor *color = [NSColor colorWithRed:0.6 green:0.6 blue:0.6 alpha:0.9];
>    self.window.backgroundColor = color;
> }
>
> The first case produces a background with transparency.
>
> The second case produces a background with no transparency.
>
> Why does’t the second case yield any transparency?
>
> --Richard Charles
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Window With Transparent Background
      • From: Richard Charles <email@hidden>
References: 
 >Window With Transparent Background (From: Richard Charles <email@hidden>)

  • Prev by Date: Re: PDF to Word ( docx) Conversion
  • Next by Date: Re: Window With Transparent Background
  • Previous by thread: Window With Transparent Background
  • Next by thread: Re: Window With Transparent Background
  • Index(es):
    • Date
    • Thread