• 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: How to prevent redrawing window when resized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to prevent redrawing window when resized


  • Subject: Re: How to prevent redrawing window when resized
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 02 Nov 2011 12:40:49 -0700

On Nov 2, 2011, at 12:13 PM, Vojtěch Meluzín wrote:

> Is there a way to prevent
> OS from filling the window with white and painting the original image, and
> rather ask the view immediately?

What you’re seeing is definitely not normal behavior. Either it’s an artifact of the unusual way your app is structured (is this happening within that modal panel?), or you’re doing something unusual when drawing your view. How are you doing the drawing? You should just need to override -drawRect: and do your drawing in that. Are you making drawing calls elsewhere, or calling window or view methods to force immediate display?

—Jens_______________________________________________

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: How to prevent redrawing window when resized
      • From: Vojtěch Meluzín <email@hidden>
References: 
 >How to prevent redrawing window when resized (From: Vojtěch Meluzín <email@hidden>)

  • Prev by Date: How to prevent redrawing window when resized
  • Next by Date: Re: Write to file Entitlement
  • Previous by thread: How to prevent redrawing window when resized
  • Next by thread: Re: How to prevent redrawing window when resized
  • Index(es):
    • Date
    • Thread