• 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: redraw problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: redraw problem


  • Subject: Re: redraw problem
  • From: Tony Romano <email@hidden>
  • Date: Thu, 29 Jul 2010 21:51:57 -0700

That was it Michael.  Thank you.
On Jul 29, 2010, at 9:19 PM, Michael Ash wrote:

> On Thu, Jul 29, 2010 at 4:26 PM, Tony Romano <email@hidden> wrote:
>> I have a document based Cocoa App and I am trying to understand what is causing these residual lines to happen.  Attached is a link to what I am referring to.  The solid blue lines are the new lines after they have moved.  The greyish lines are what's being left behind. http://dl.dropbox.com/u/5614061/Screen shot 2010-07-29 at 1.08.36 PM.png.  Notice they look like borders from the old lines.
>
> It looks like you're changing the filled region of an
> irregularly-shaped window. This is perfectly fine, but note that
> NSWindow will *not* automatically update the window's shadow when you
> do so. Your artifacts look like leftover shadow to me, so I'd guess
> that this is what's happening.
>
> If I'm right, you can simply do [window invalidateShadow] any time you
> change the filled region to force the window to regenerate the shadow.
>
> Mike
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please 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
>

-Tony

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please 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

References: 
 >redraw problem (From: Tony Romano <email@hidden>)
 >Re: redraw problem (From: Michael Ash <email@hidden>)

  • Prev by Date: Re: redraw problem
  • Next by Date: UITableViewCell Red Button tap crashes app
  • Previous by thread: Re: redraw problem
  • Next by thread: Storing help pages on Remote Server
  • Index(es):
    • Date
    • Thread