R
Robot
Hello,
I am creating an application using C# .NET.
In the main form is has got a few labels, panels,
buttons and treeView.
While changing size of window (by handling
right-bottom corner), everything is flickering in
horrible way. Each component is flickering in its
own way.
Of course, I set up doublebuffering:
SetStyle(ControlStyles.UserPaint |
ControlStyles.AllPaintingInWmPaint |
ControlStyles.DoubleBuffer, true);
UpdateStyles();
Unfortunatelly, it has not fixed the situation.
How to successfully set up doublebuffering?
I have read much about this, but did not find
any working solution.
Why doublebuffering set up by SetStyle
does not work?
Thanks in advance.
Robot
I am creating an application using C# .NET.
In the main form is has got a few labels, panels,
buttons and treeView.
While changing size of window (by handling
right-bottom corner), everything is flickering in
horrible way. Each component is flickering in its
own way.
Of course, I set up doublebuffering:
SetStyle(ControlStyles.UserPaint |
ControlStyles.AllPaintingInWmPaint |
ControlStyles.DoubleBuffer, true);
UpdateStyles();
Unfortunatelly, it has not fixed the situation.
How to successfully set up doublebuffering?
I have read much about this, but did not find
any working solution.
Why doublebuffering set up by SetStyle
does not work?
Thanks in advance.
Robot