I'm using Builder 6 and I need to render
the contents of a TForm to a back-buffer (TBitmap). This is so I can capture the contents of the form as an image for some transition effects.
If the form is visible on the screen then this is easy as I just have to copy to the form's Canvas.
However I need to capture the canvas of a form that is not visible. When I try accessing the Form's Canvas what I get is the area of the screen where the form would be if it were visible (ie. bits of the desktop background and other forms that are visible).
How can I draw to the form when it is NOT visible and capture and image of the form, without having to make it visible?
the contents of a TForm to a back-buffer (TBitmap). This is so I can capture the contents of the form as an image for some transition effects.
If the form is visible on the screen then this is easy as I just have to copy to the form's Canvas.
However I need to capture the canvas of a form that is not visible. When I try accessing the Form's Canvas what I get is the area of the screen where the form would be if it were visible (ie. bits of the desktop background and other forms that are visible).
How can I draw to the form when it is NOT visible and capture and image of the form, without having to make it visible?