Smoothly painting a form
Is there any relatively* simple way of drawing a very busy form in a
smooth fashion? I have Form A with upwards of 40 different sub-
controls on it, but which is covered by Form B. When Form B is made
invisible, the redraw of Form A is very klunky - you can see each
individual component being redrawn over about .25 sec. Each of the
individual components is either a native CF widget or double
buffered. Is there any way to implement a double-buffering technique
such that only one on-screen paint is necessary?
* I realize relative is a relative term :). The only way I can think
of to do this is to use only custom controls, add a public method to
gain control of the OnPaint function, and manage all the paint calls
on my own. I'm hoping there's some more elegant solution....
Date:Tue, 31 Jul 2007 21:35:58 -0000
Author:
|