window shadow and setAlphaValue bug?
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