Hi all,
I'm currently thinking on using quite intensivelly the DrawToBitmap method found in the Control class to render controls in certain places of my form.
I was wondering if any of you would have any idea of how it could affect performance
Thanks,
Amadrias

Control.DrawToBitmap and Performances
Martin Moe
I have a control that perfectly paints what I want to achieve for this other control non client area but, as you know, you can't place a control out of the client rectangle and have it drawn still. So, I'm trying to achieve the same goal by copying the control as it renders into a bitmap that I use when the non client area is to be paint by using some Windows Messages I intercept in the WndProc.
My only concern was if this repeated DrawToBitmap method wouldn't seriously affect performances if I have multiple of them versus making direct painting using a Graphics instance...
Julianín
Kjetil Tveit
Haplo_69
Regards,
-chris