double buffer

double buffer

Anonymous
Not applicable
621 Views
3 Replies
Message 1 of 4

double buffer

Anonymous
Not applicable

Hi there,

I am still having trouble with my GUI objects  dialogs objects flickering.

I have read that maybe double buffering may help.  Is anyone familiar with this?

 

Kind regards,

 

Martin.

0 Likes
622 Views
3 Replies
Replies (3)
Message 2 of 4

Anonymous
Not applicable

I have had those problems with DataGridViews.

I use this in my form initialization:

typeof(DataGridView).InvokeMember(
	"DoubleBuffered",
	BindingFlags.NonPublic | BindingFlags.Instance | BindingFlags.SetProperty,
	null,
	myDataGridView,
	new object[] { true });

 

0 Likes
Message 3 of 4

jeff
Collaborator
Collaborator

Have you tried setting the forms DoubleBuffered property to true?

You can also find your answers @ TheSwamp
0 Likes
Message 4 of 4

Anonymous
Not applicable

THANK YOU THANK YOU THANK YOU.

It worked, You have mde me so happy, LOL.

Thanks again mohnston.

Cheers,

 

Martin.