See attach file for sample project : http://www.mikrokom.com/downloads/performance.zip First of all my problem is not directly related with wingrid 's performance but overall painting performance and transparency problem. I have a sample project. There is an mdi main form, an mdi client in it. There is a button over this mdi client which is opening a new dialog form. There are bunch of controls over this form. Groupbox, toolbar, labels, textboxes etc. When that dialog form is opening painting is very slow. Please download attachment and run the project and you 'll see what i 'm talking about. To improve paiting performance there is a code : protected override CreateParams CreateParams { get { CreateParams cp = base.CreateParams; cp.ExStyle |= 0x02000000; return cp; } } see frmDialog.cs , uncomment required lines and run project. This time you 'll see significiant performance improvements. Unbelievable. But the problem here is there is a flickering problem on toolbar. A black line appearing when form is loading and then disappears. This is annoying. How can i get rid of this flickering ? For more information about this issue please see Flicker-free painting http://social.msdn.microsoft.com/Forums/en-US/winforms/thread/aaed00ce-4bc9-424e-8c05-c30213171c2c
I tried this with the latest (last) 7.3 build on Vista and I really didn't see a noticeable difference; I definitely did not see a "...black line appearing when form is loading...". MSDN documentation for the WS_EX_COMPOSITED constant states:
"Paints all descendants of a window in bottom-to-top painting order using double-buffering."
The toolbars appear in docked panels on the form, so I don't know if possibly changing their z-order might affect this.
This doesn't seem like something I can help you with in a forum post. I have forwarded this thread over to Infragistics Developer Support.