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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to