• 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: Equivelent to drawRect: for drawing after sub views are drawn
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Equivelent to drawRect: for drawing after sub views are drawn


  • Subject: Re: Equivelent to drawRect: for drawing after sub views are drawn
  • From: Ricky Sharp <email@hidden>
  • Date: Thu, 30 Sep 2004 06:13:09 -0500

On Thursday, September 30, 2004, at 01:30AM, George Lawrence Storm <email@hidden> wrote:

>I need to perform the equivalent to NSView's drawRect:, however I need
>it to be called AFTER its sub views are drawn.
>
>Is there a method I can override for such a purpose?
>
>I need to draw a transparent overlay & some guidelines which will
>overlap some of those sub views.

I think you'll be better served by using an overlay window.  That may also give you better performance as well.

Check out the following example:

<http://developer.apple.com/samplecode/FunkyOverlayWindow/FunkyOverlayWindow.html>

Rick Sharp
Instant Interactive(tm)

 _______________________________________________
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: 
 >Equivelent to drawRect: for drawing after sub views are drawn (From: George Lawrence Storm <email@hidden>)

  • Prev by Date: Re: NSTextFields
  • Next by Date: Re: Cocoa Application Architecture - Think More About AppleEvents and OSA?
  • Previous by thread: Equivelent to drawRect: for drawing after sub views are drawn
  • Next by thread: [ANN] QuickLite 1.5 is available
  • Index(es):
    • Date
    • Thread