c# - Flickering in a Windows Forms app -


I have an app in which there is a ton control over it and there is a huge amount of flicker especially on startup is.

I have applied it to this.

  Create protected override. Create params {getParams cp = base.CreateParam; Cp.ExStyle | = 0x02000000; // WS_EX_COMPOSITED return CP; }}  

It did great work - though the spry was reduced by a very unbelievable amount, the side effect is minimal, maximize and close buttons in the upper right part of the window, when I take the mouse up or click on them (they still work) do not animate. This makes the app feel hung

How do I keep WS_EX_COMPOSITED while still keeping the utility of max, minimum and close buttons?

It happens on Windows XP as @Falnidol has said it is not an issue on Windows 7.

I understood that the move after removing the form is to remove the WS_EX_COMPOSITED flag. Full details and codes on my blog:


Comments