• 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: Superimpose a NSTextField over NSImageView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Superimpose a NSTextField over NSImageView?


  • Subject: Re: Superimpose a NSTextField over NSImageView?
  • From: "Finlay Dobbie" <email@hidden>
  • Date: Sun, 23 Apr 2006 15:22:27 +0100

On 23/04/06, Dave Rosborough <email@hidden> wrote:
> This should do what the OP was looking for, and in fact very likely
> forms the basis for "Bring to Front" and "Send to Back".  It doesn't
> seem like the drawing order of sibling NSViews is really undefined at
> all.

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

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.

 -- Finlay
 _______________________________________________
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: 
 >Superimpose a NSTextField over NSImageView? (From: desktoast music productions <email@hidden>)
 >Re: Superimpose a NSTextField over NSImageView? (From: Andy Lee <email@hidden>)
 >Re: Superimpose a NSTextField over NSImageView? (From: Alan Hart <email@hidden>)
 >Re: Superimpose a NSTextField over NSImageView? (From: Ondra Cada <email@hidden>)
 >Re: Superimpose a NSTextField over NSImageView? (From: Dave Rosborough <email@hidden>)

  • Prev by Date: Re: Superimpose a NSTextField over NSImageView?
  • Next by Date: Re: Superimpose a NSTextField over NSImageView?
  • Previous by thread: Re: Temporary text display over NSTableView (was NSTextField over NSImageView?)
  • Next by thread: Re: Superimpose a NSTextField over NSImageView?
  • Index(es):
    • Date
    • Thread