0

I have made a form that contains about 60 buttoncontrols, 7 panels and 10 textboxes.

What happens when I drag around this Form etc.. is that the controls flickers very much.

How is it possible to reduce this flickering.

Thank you...

2
Contributors
2
Replies
3
Views
8 Years
Discussion Span
Last Post by Lukezzz
0

When you refer to Form, do you mean you are using the VC++/.Net framework. If this is the case, you can try simply setting the DoubleBuffered property (protected member I believe).

0

Yes I use the VC++ Express Edition 2008.
I have tried to put this in the Load event of the form but when I do that the whole desktop is flickering also with all folders and files that I have there and the form is flickering even more.

I wonder if that is the correct way to do that. This was the best thing I could find on google that compiled.
I have also tried to put the DoubleBuffered property to true for the Form, with the same problem, it actually gets worse.

(To mention, I have about 250 buttoncontrols on the form)

Perheps I would do this in any other way ?

Control::SetStyle(ControlStyles::OptimizedDoubleBuffer, true);

When you refer to Form, do you mean you are using the VC++/.Net framework. If this is the case, you can try simply setting the DoubleBuffered property (protected member I believe).

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.