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: Resizing movie control flashes




On 15-nov-04, at 17:50, David Duncan wrote:

>It is recommended that you change the bounds of controls that you wish to size with the window during a kEventControlBoundsChanged event placed on the content view of your window rather than by using the window bounds changed handler. The flashing is probably occurring because your movie control is redrawing, then the content view redraws and your movie control draws again.<

You're a genius! No more flashing. Youpee!
I still don't understand what was going on. Flashing means the control is erased but not yet redrawn when the next buffer flush occurs, right? IOW not enough redrawing rather than too much.


BTW, I can't use the layout API because the window can be resized arbitrarily whereas I want the movie to conserve aspect ratio.

Jan.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden
References: 
 >Resizing movie control flashes (From: "Jan E. Schotsman" <email@hidden>)
 >Re: Resizing movie control flashes (From: David Duncan <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.