• 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
window shadow and setAlphaValue bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

window shadow and setAlphaValue bug?


  • Subject: window shadow and setAlphaValue bug?
  • From: Ivan Kourtev <email@hidden>
  • Date: Sun, 19 Nov 2006 16:11:20 -0500

Why is it that if a window has NO shadow and the window's alpha value is set (via - [NSWindow setAlphaValue:]) to a value different from 1.0, a window shadow is now rendered to the screen? I tried creating the window programmatically or in IB, I tried invalidateShadow after the setAlphaValue calls, nothing works.

What's even more confusing to me is that - [NSWindow hasShadow] continues to return NO after the shadow has appeared.

I searched all window documentation and didn't find any mention of this being documented behavior. Is anyone aware of why this is happening and any possible workarounds (setting alpha back to 1.0 helps to eliminate the shadow but I really need windows with different alpha values).

Thanks,

-- ivan

_______________________________________________
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


  • Follow-Ups:
    • Re: window shadow and setAlphaValue bug?
      • From: Ricky Sharp <email@hidden>
  • Prev by Date: Re: Re: Launch bundled application before main application
  • Next by Date: Re: NSXML - preserving white space in new elements
  • Previous by thread: NSAnimation-caused crash
  • Next by thread: Re: window shadow and setAlphaValue bug?
  • Index(es):
    • Date
    • Thread