Re: Is there a z-index for overlapping NSViews?
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