• 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: Problem redrawing views while window resize button is held
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Problem redrawing views while window resize button is held
      • From: Andreas Mayer <email@hidden>
    • Re: Problem redrawing views while window resize button is held
      • From: John Stiles <email@hidden>
References: 
 >Problem redrawing views while window resize button is held (From: Doug F <email@hidden>)

  • Prev by Date: Re: RSS support in Cocoa
  • Next by Date: Re: RSS support in Cocoa
  • Previous by thread: Re: Problem redrawing views while window resize button is held
  • Next by thread: Re: Problem redrawing views while window resize button is held
  • Index(es):
    • Date
    • Thread