Hi

I have c# project that was developed on windows xp 64 and 32 bit.
when runnign it on windows 7 it got some GUI problems, that looks bad.

I call
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(true);
but it does nothelp

I was looking at the OnPaint and see there is usage of class Graphics. from this class there is usage of FillRectangle and SetClip.

any idea how to fix it ?

Thanks
Rinat