Hi,
I try to save the content of a simple RadForm to a Bitmap.The non client area of the form is not drawn at all (transparent value). If I disable Theming, it works.
Here is the code I used :
static void Main(){    Application.EnableVisualStyles();    var form = new RadForm1();     //form.AllowTheming = false;  --> Works is Theming is disabled ! Otherwise no.    form.Show();    var rect = new Rectangle(0, 0, form.Bounds.Width, form.Bounds.Height);    var image = new Bitmap(rect.Width, rect.Height);    form.DrawToBitmap(image, rect);    image.Save("d:/test.png");}
How can I force the drawing of the NC area of the form ?
Thks

