• 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 views and window shadow interference
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: transparent views and window shadow interference


  • Subject: Re: transparent views and window shadow interference
  • From: Daryn <email@hidden>
  • Date: Tue, 26 Nov 2002 19:54:28 -0600

On Tuesday, November 26, 2002, at 01:20 PM, Andreas Mayer wrote:
whereas I would like certain text views in the window to be transparent -- sans the window shadowing the text in the views.

Hm. AFAIK the window shadow is only calculated when the window is created or resized. You may try to create the window with empty transparent views and fill in the text later.

True, but the shadow is also invalidated & redrawn when the window ordering changes. The text view is fine until switching apps for instance. Once not the front-most, the shadowing occurs and it doesn't go away when it become frontmost.

With experimentation, I achieved what I want by setting the window's alpha to .999999 and leave it opaque. It does what I want but it just feels really really wrong. Further searches on mamasam turned up that someone else was lamenting this implementation, but noone responded.

Daryn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: transparent views and window shadow interference (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: Vermont Recipes vs Building Cocoa Applications
  • Next by Date: Re: Vermont Recipes vs Building Cocoa Applications
  • Previous by thread: Re: transparent views and window shadow interference
  • Next by thread: getting information on disk usage
  • Index(es):
    • Date
    • Thread