| Subject: | copy form image to clipboard with GetFormImage(): TListview header missing |
| Posted by: | Changsong Bu |
| Date: | Wed, 26 Aug 2009 |
I was using cb2009, trying to copy the form image to clipboard. However after I pasted the image to paint or word, the listview column header information of the form is missing. The other parts (including the rows of the listview) are ok. This happens in BCB6 as well.
My codes are as following:
{
Graphics::TBitmap *FormImage;
TClipboard *Clipboard;
Clipboard = new TClipboard();
FormImage = GetFormImage();
Clipboard->Assign(FormImage);
delete Clipboard;
}
do you have any idea why this happens?