Flickering in a Windows Forms app

后端 未结 5 1486
无人及你
无人及你 2020-12-03 05:06

I have an app that has a ton of controls on it. And it has a massive amount of flicker, particularly on startup.

I applied this fix to it.

    prote         


        
5条回答
  •  囚心锁ツ
    2020-12-03 05:40

    I figured it out. The trick is to remove the WS_EX_COMPOSITED flag after the form is shown. The full explanation and code at my blog:

    How to get rid of flicker on Windows Forms applications

提交回复
热议问题