• 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
Re: Shadows & NSWindow question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shadows & NSWindow question


  • Subject: Re: Shadows & NSWindow question
  • From: Dave Batton <email@hidden>
  • Date: Thu, 11 Jan 2007 14:34:03 +0100

David,


So I'm looking for a way to tell NSWindow that I *only* want shadows *around the borders of the window* and _not_ around every NSView. If there isn't such an option, what's is the way to implement my own window shadow?

Create two windows. One with a shadow, and one to hold the contents. I did something similar with this project:


<http://www.mere-mortal-software.com/blog/details.php?d=2006-11-22>

The background is actually a child window of the contents, placed behind it. Works great.


-- Dave Batton Mere Mortal Software http://www.Mere-Mortal-Software.com/


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: Shadows & NSWindow question
      • From: "David Aames" <email@hidden>
References: 
 >Shadows & NSWindow question (From: David Aames <email@hidden>)

  • Prev by Date: Is it a iCal Bug?
  • Next by Date: Re: Shadows & NSWindow question
  • Previous by thread: Shadows & NSWindow question
  • Next by thread: Re: Shadows & NSWindow question
  • Index(es):
    • Date
    • Thread