• 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: Strange NSView Redraw issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange NSView Redraw issue


  • Subject: Re: Strange NSView Redraw issue
  • From: Matt Neuburg <email@hidden>
  • Date: Sun, 07 Jan 2007 08:36:48 -0800
  • Thread-topic: Strange NSView Redraw issue

On Sat, 6 Jan 2007 23:01:42 -0700, Andrew Madsen
<email@hidden> said:
>I've got a preferences window based on the example here: http://
>johndevor.wordpress.com/2006/12/24/simple-preferences/ .
>
>For some reason, my general preferences pane (which is the biggest of
>the panes) doesn't properly redraw.  When switching to the general
>pane from another pane, it seems as though only the portion of the
>general pane's view that would have been "within" the rect defined by
>the previous pane is drawn.  Here is the code I'm using:
> // SNIP
> [activeContentView setNeedsDisplay: YES];
> [view setNeedsDisplay: YES];

If you tell the window to display (instead of setNeedsDisplay), does that
make a difference?

m.

--
matt neuburg, phd = email@hidden, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>



_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Strange NSView Redraw issue
      • From: Andrew Madsen <email@hidden>
  • Prev by Date: Re: NSTask - working with asynchronous output with a finite termination time
  • Next by Date: Re: previousResponder?
  • Previous by thread: Strange NSView Redraw issue
  • Next by thread: Re: Strange NSView Redraw issue
  • Index(es):
    • Date
    • Thread