• 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: SetHidden on two objects... Slow to hide
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SetHidden on two objects... Slow to hide


  • Subject: Re: SetHidden on two objects... Slow to hide
  • From: Shawn Erickson <email@hidden>
  • Date: Thu, 27 Jul 2006 07:27:07 -0700


On Jul 27, 2006, at 7:21 AM, PGM wrote:

Maybe this works:

NSDisableScreenUpdates();
[myViewA setHidden:YES];
[myViewB setHidden:YES];
NSEnableScreenUpdates();

Adjusting hidden among other thing does not incur immediate drawing but simply marks affected areas dirty. The issue at hand is that a secondary animation thread likely exists for the spinner which can result in it responding to the drawing update before the main thread gets back around to redraw dirty views.


-Shawn
_______________________________________________
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


  • Follow-Ups:
    • Re: SetHidden on two objects... Slow to hide
      • From: Mike Abdullah <email@hidden>
References: 
 >SetHidden on two objects... Slow to hide (From: Trygve Inda <email@hidden>)
 >Re: SetHidden on two objects... Slow to hide (From: PGM <email@hidden>)

  • Prev by Date: Re: How do I size a NSView to fit an NSImage?
  • Next by Date: Re: setBoundsSize problem - help needed
  • Previous by thread: Re: SetHidden on two objects... Slow to hide
  • Next by thread: Re: SetHidden on two objects... Slow to hide
  • Index(es):
    • Date
    • Thread