Groups | Blog | Home
all groups > dotnet drawing api > october 2006 >

dotnet drawing api : GDI or GDI+


dave
10/20/2006 9:27:01 AM
Hello:

I have C# appl that uses GCI+ to
draws/updates complex graphs every sec.

There is seldom small flickering.

Does somebody know if switching to GCI will
eliminate/reduce flickering ?

Michael C
10/21/2006 12:00:00 AM
[quoted text, click to view]

Still don't have all ther acronyms worked out dave? :-) GDI itself won't
help because it will stil be performing similar function. If you have a
flicker problem probably the best method to solve it is to turn on double
buffering. this.SetStyle(ControlStyles.DoubleBuffer |
ControlStyles.AllPaintingInWMPaint | ControlStyles.UserPaint, true).
Possibly also ControlStyles.ResizeRedraw might be useful to you.
[quoted text, click to view]

AddThis Social Bookmark Button