• 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
Child windows, ordering, shadows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Child windows, ordering, shadows


  • Subject: Child windows, ordering, shadows
  • From: William Turner <email@hidden>
  • Date: Thu, 21 Sep 2006 14:55:21 -0400

I'm working with a group of borderless window subclasses that have custom titlebars and "snap" together magnetically, the top of one window to the bottom of another. All is well accept for the shadows drawn around the higher window occasionally shows over the one attached at its bottom. I'm using orderWindow:relativeTo: and explicitly ordering the lower window above the one it is attached to, and yet this still occurs in some cases.

As I understand it, if two windows have the same "level" (NSFloatingWindowLevel in this case), the window with the higher ordering should draw its shadow over the window below it (if they have contiguous borders). Is there a piece of the puzzle I'm missing?

I can describe this in more depth if needed, or even link screenshots on the web if I'm not being clear.

Thanks for any help.

Wil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Save dialog question
  • Next by Date: Bind checkbox in menu?
  • Previous by thread: graphicsContextWithGraphicsPort
  • Next by thread: Bind checkbox in menu?
  • Index(es):
    • Date
    • Thread