trichview.com

trichview.support




Paste bitmap at running time


Return to index


Author

Message

Patrick

Posted: 01/03/2004 19:50:16


Hello,

When I use the paste method when clicking a button all is ok.But now I would

insert a bitmap from clipboard at running time.

I have created a function and it copy a bitmap to the clipboard.I have put

a breakpoint and looked with "Paint" the bitmap is ok. at the next code line

at the return of my function I paste it in a RichViewEdit and an error message

occurs with "index out of bound (-1)"

My code is:


AnsiString Nom=AnsiString("Fonds propres nets");

int table=1;

CopieChartToClip(Nom,table);

RichViewEdit1->PasteBitmap(false);

RichViewEdit1->AddNL("Quelques explications",0,0);


I know than paste is at the caret position but I have looked in the help

and found nothing about.

Could you help me please

I thank you in advance

Patrick





Powered by ABC Amber Outlook Express Converter