dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Pnet-developers] Double buffering


From: Marc Haisenko
Subject: Re: [Pnet-developers] Double buffering
Date: Wed, 28 Sep 2005 09:36:41 +0200
User-agent: KMail/1.8.1

On Wednesday 28 September 2005 08:47, radek polak wrote:
> Hello,
> I am implementing control, that uses double buffering for drawing, but when
> i run this control, i am getting flickering when control is repainting.

Try overloading OnPaintBackground and do nothing in this method (do not even 
call base.OnPaintBackground, just leave that method completely empty). 
Instead, do the background painting as part of OnPaint.

C'ya,
        Marc

-- 
Marc Haisenko
http://darkdust.net
Today is Sweetmorn, the 52nd day of Bureaucracy in the YOLD 3171

Attachment: pgpaOva1iXhky.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]