• 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: Subview drawing order ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subview drawing order ?


  • Subject: Re: Subview drawing order ?
  • From: Robert Miller <email@hidden>
  • Date: Tue, 23 Oct 2001 10:12:11 -0400
  • Organization: RFM & Associates

Thanks, but, sorry that didn't work. It seems display never gets called for
some reason, breakpoint never got hit.

Stiphane Sudre wrote:

> On mardi, octobre 23, 2001, at 03:09 , Robert Miller wrote:
>
> > Hello,
> >
> > This is probably a basic question but I haven't found an answer yet.
> > Can someone tell me if there is a way to control the order in which
> > NSView draws its subviews ? I have a custom view that contains various
> > other custom subviews. I want outermost superview to draw last so that
> > whatever is drawn in it overlays the subviews that are drawn. Is there
> > a way to do this ?
>
> Maybe this.
>
> - (void)display
> {
> [super display];
>
> // Lock Focus may be
>
> // Draw your stuff
>
> // Unlock Focus may be
> }


References: 
 >Re: Subview drawing order ? (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: Subview drawing order ?
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: Subview drawing order ?
  • Next by thread: Re: Subview drawing order ?
  • Index(es):
    • Date
    • Thread