R
rory.groves
C#, NET 2.0:
I am using CopyFromScreen to copy a background user control to a
foreground usercontrol to create the appearance of transparency.
It works perfectly 95% of the time. However it only paint what is
visible. So if there is another window on top of the application when
CopyFromScreen is called (such as when first starting the
application), then it paints part of the other window as my
usercontrol background.
Is there any way to export a region of the Graphics object into a
Bitmap without using CopyFromScreen?
Or, is there a CopyFromHDC() or equivalent?
Thanks.
I am using CopyFromScreen to copy a background user control to a
foreground usercontrol to create the appearance of transparency.
It works perfectly 95% of the time. However it only paint what is
visible. So if there is another window on top of the application when
CopyFromScreen is called (such as when first starting the
application), then it paints part of the other window as my
usercontrol background.
Is there any way to export a region of the Graphics object into a
Bitmap without using CopyFromScreen?
Or, is there a CopyFromHDC() or equivalent?
Thanks.