Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Flicker when resizing NSStatusItem with Custom View



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 (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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Flicker when resizing NSStatusItem with Custom View (From: vance <email@hidden>)
 >Re: Flicker when resizing NSStatusItem with Custom View (From: Peter Ammon <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.