.NET

Reply
Distinguished Contributor
quigs
Posts: 143
Registered: ‎09-30-2008
Message 1 of 4 (129 Views)

double buffer

129 Views, 3 Replies
08-03-2011 01:47 AM

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.



My name is Martin.. :smileyvery-happy:
Distinguished Contributor
mohnston
Posts: 184
Registered: ‎09-22-2006
Message 2 of 4 (113 Views)

Re: double buffer

08-03-2011 09:17 AM in reply to: quigs

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 });

 

CAD Programming Solutions
Valued Mentor
jeff
Posts: 322
Registered: ‎05-12-2009
Message 3 of 4 (112 Views)

Re: double buffer

08-03-2011 09:18 AM in reply to: quigs

Have you tried setting the forms DoubleBuffered property to true?


You can also find your answers @ TheSwamp
Distinguished Contributor
quigs
Posts: 143
Registered: ‎09-30-2008
Message 4 of 4 (103 Views)

Re: double buffer

08-03-2011 09:51 AM in reply to: mohnston

THANK YOU THANK YOU THANK YOU.

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

Thanks again mohnston.

Cheers,

 

Martin.

 

My name is Martin.. :smileyvery-happy:

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community