Re: Problem redrawing views while window resize button is held
Re: Problem redrawing views while window resize button is held
- Subject: Re: Problem redrawing views while window resize button is held
- From: Uli Kusterer <email@hidden>
- Date: Fri, 16 Mar 2007 22:47:29 +0100
Am 14.03.2007 um 20:01 schrieb Doug F:
As an example of the behavior I would like: When watching a .mov in
QuickTime player, if you resize the video window, the video
continues playing as you hold down the resize button, so clearly
the view (of whatever sort) that shows the video is able to have
its view drawRect:'d or whatever.
Well, QuickTime Player is Carbon, so I guess that'd be the most
obvious solution ;-p
Does anyone know how I can modify this behavior so that the views
are redrawn whenever they are invalidated even though the resize
control is held?
Have you tried detecting whether you're inside a resize somehow and
then calling displayIfNeeded on your view or window? From what you
wrote, it appears your timer triggers, the window just doesn't get
called upon to redraw. displayIfNeeded causes an immediate redraw.
Cheers,
-- M. Uli Kusterer
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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