How to register a global hotkey for your application in C#

How to register a global hotkey for your application in C#

Register a hotkey for your application that can be triggered even if your form is minimized and does not have focus. More »

How to download a file in C# (progressbar and download speed)

How to download a file in C# (progressbar and download speed)

Learn how to download files in C# while displaying the percentage and the download speed. More »

UDP hole punching implementation in C#

UDP hole punching implementation in C#

Learn how to implement UDP hole punching so you can make your clients life a lot easier by not forcing them to open ports on their end. More »

 

Enable Double Buffering for Controls to reduce flickering

Some controls do not have their DoubleBuffered property listed in the properties window. For this reason it requires an additional step to enable double buffering for specific controls such as a ListView control.

If you wish to enable the DoubleBuffed property of a control simply use the method provided below.

Example

Share on FacebookTweet about this on TwitterShare on Google+Share on StumbleUponShare on LinkedInShare on RedditPin on PinterestShare on TumblrDigg thisPrint this pageEmail this to someone

3 Responses to Enable Double Buffering for Controls to reduce flickering

  1. Ray Chakrit says:

    Thank you very much. It works well to stop tabPages redraw without affecting other controls.

  2. Mark says:

    This worked great for me too. A really easy, effective solution.

    Thank you so much!

  3. Andreas says:

    I spent two hours on searching the web for a solution to prevent flickering in my listview. This solution worked for me and it is very simple as it describes the solution clear and briefly.

    Many Thanks,

    Andreas

Leave a Reply

Your email address will not be published. Required fields are marked *