Window Shadow
Window Shadow
- Subject: Window Shadow
- From: Matthieu Campion <email@hidden>
- Date: Mon, 29 Sep 2008 16:55:27 +0200
Hi all,
I have a problem with shadows on transparent windows:
I create a fullscreen borderless transparent window with a view (an
object derived from NSView) in the center and I don't want to have a
shadow on it.
[self setBackgroundColor: [[NSColor blueColor]
colorWithAlphaComponent:0.0]];
[self setAlphaValue:1.0];
[self setOpaque:NO];
[self setHasShadow:NO];
(self = myWindow)
When I launch my application, all is ok (ther isn't shadow); but if I
go to another virtual desktop (I use 'Spaces' from Mac OSX ), when I
come back to the first screen, my view has a shadow.
Do you have an idea (maybe it's a Mac OS bug...)?
Regards
Matthieu
_______________________________________________
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