• 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: -setNeedsDisplay: different between Tiger and Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -setNeedsDisplay: different between Tiger and Leopard


  • Subject: Re: -setNeedsDisplay: different between Tiger and Leopard
  • From: Murat Konar <email@hidden>
  • Date: Fri, 14 Dec 2007 10:26:02 -0800

Actually, you're right. I don't think Idiot's code will give you what you're after. But a call to the superview's setNeedsDisplayInRect: on the union of old and new frames should.

_murat

On Dec 14, 2007, at 10:16 AM, John Stiles wrote:

The call to -display will /erase/ from the old location? Really?
That seems a little strange…

I. Savant wrote:
What's the simplest way to fix this on all OSes?


[control display]; // clean up at old location [control setFrame:newFrame]; // move control [control setNeedsDisplay:YES]; // redraw at new location

--
I.S.

_______________________________________________

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

_______________________________________________

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: 
 >-setNeedsDisplay: different between Tiger and Leopard (From: John Stiles <email@hidden>)
 >Re: -setNeedsDisplay: different between Tiger and Leopard (From: "I. Savant" <email@hidden>)
 >Re: -setNeedsDisplay: different between Tiger and Leopard (From: John Stiles <email@hidden>)

  • Prev by Date: Re: -setNeedsDisplay: different between Tiger and Leopard
  • Next by Date: Re: -setNeedsDisplay: different between Tiger and Leopard
  • Previous by thread: Re: -setNeedsDisplay: different between Tiger and Leopard
  • Next by thread: Re: -setNeedsDisplay: different between Tiger and Leopard
  • Index(es):
    • Date
    • Thread