• 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: Cocoa functionality analogous to ValidWindowRect?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa functionality analogous to ValidWindowRect?


  • Subject: Re: Cocoa functionality analogous to ValidWindowRect?
  • From: Chris Hanson <email@hidden>
  • Date: Sat, 5 Nov 2005 08:41:40 -0800

On Nov 3, 2005, at 1:58 PM, Kurt Bigler wrote:

I have not been able to find any functionality in NSView that corresponds to
the carbon ValidWindowRect call, which marks a rectangular area as not
needing to be redrawn.

You won't be able to do this with AppKit directly. However, if there's a way to determine when your application objects are "done" invalidating and re-validating, you can implement your own system to track which rectangles should be updated. Then when the validations are complete, you can invoke -[NSView setNeedsDisplayInRect:] on your window's content view with an appropriate set of rectangles.


  -- Chris

_______________________________________________
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: 
 >Cocoa functionality analogous to ValidWindowRect? (From: Kurt Bigler <email@hidden>)

  • Prev by Date: Re: NSPropertyDescription userInfo
  • Next by Date: Preferences in a separate nib file
  • Previous by thread: Re: Cocoa functionality analogous to ValidWindowRect?
  • Next by thread: drop location feedback in NSTextView
  • Index(es):
    • Date
    • Thread