Re: How to prevent redrawing window when resized
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