• 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
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Window Shadow
      • From: "I. Savant" <email@hidden>
  • Prev by Date: Re: Load launchd job immediately, without restart - how?
  • Next by Date: NSWindow animationResizeTime
  • Previous by thread: Re: Passing focus to a control
  • Next by thread: Re: Window Shadow
  • Index(es):
    • Date
    • Thread