Thanks Peter, the workaround worked nicely
Vance

On Apr 21, 2008, at 9:25 PM, Peter Ammon wrote:


On Apr 21, 2008, at 5:23 PM, vance wrote:

Hi

I am seeing annoying flickering when resizing a status bar item using a custom view.

I tried using
        * [statusItem setLength:XX.X] and
        * [customView setFrame:newFrame]

Hi Vance,

Thank you for your analysis. This is a known bug. You can work around it by surrounding your call to setLength: with NSDisableScreenUpdates() and NSEnableScreenUpdates();

Hope that helps,
-Peter



_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to