I have an Dev Express Windows Form Application and it has a massive amount of flicker, particularly on startup.
I applied this fix to it.
protected override CreateParams CreateParams
{
get
{
CreateParams cp = base.CreateParams;
cp.ExStyle |= 0x02000000; // WS_EX_COMPOSITED
return cp;
}
}
This code fix the flickering problem but it used 30-50 CPU Usages.
How to Fix this problem ?