• 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: Is there a z-index for overlapping NSViews?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a z-index for overlapping NSViews?


  • Subject: Re: Is there a z-index for overlapping NSViews?
  • From: Scott Anguish <email@hidden>
  • Date: Mon, 1 May 2006 02:47:59 -0400


On May 1, 2006, at 12:51 AM, Eric Lin wrote:

Can I set certain NSViews (on the same level in the view hierarchy) to be
drawn behind another view so the overlapping part of the former view is
invisible?

<http://developer.apple.com/documentation/Cocoa/Conceptual/ CocoaViewsGuide/WorkingWithAViewHierarchy/chapter_4_section_5.html>


Note: For performance reasons, Cocoa does not enforce clipping among sibling views or guarantee correct invalidation and drawing behavior when sibling views overlap. If you want a view to be drawn in front of another view, you should make the front view a subview (or descendant) of the rear view.





_______________________________________________
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


References: 
 >Is there a z-index for overlapping NSViews? (From: "Eric Lin" <email@hidden>)

  • Prev by Date: Correction: "Send to iWeb" API?
  • Next by Date: Re: Incorrect flipping when manually drawing NSCells (was: Fwd: -isFlipped not working right when drawing IconAndTextCell to NSImage)
  • Previous by thread: Is there a z-index for overlapping NSViews?
  • Next by thread: Re: Is there a z-index for overlapping NSViews?
  • Index(es):
    • Date
    • Thread