• 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: "David Aames" <email@hidden>
  • Date: Thu, 11 Jan 2007 14:44:28 +0000

Hi Dave,

Thank you for this. I also thought of this approach today but it seems like
a big hack (I'm not sure what iPhoto is doing with its HUD windows). If I
find a better aproach I will post here otherwise that's the only solution
(public one that is since Disco + Terminal are doing some magic as well).
Thank you.

Kind regards,
David

On 1/11/07, Dave Batton <email@hidden> wrote:

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

_______________________________________________

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


References: 
 >Shadows & NSWindow question (From: David Aames <email@hidden>)
 >Re: Shadows & NSWindow question (From: Dave Batton <email@hidden>)

  • Prev by Date: Re: Shadows & NSWindow question
  • Next by Date: Re: not receiving kIOMessageCanSystemSleep messages
  • Previous by thread: Re: Shadows & NSWindow question
  • Next by thread: How to use custom UI elements
  • Index(es):
    • Date
    • Thread