I have a problem with copying content from RichViewEdit to RichView. I want to copy texts and gif from richviewedit to richview. After I running below code, texts will be copied, but gif will not be copied. How could I fix this problem?
Any help is appreciate!
Code: Select all
// gif and texts have all added in richviewdit successfully.
TStringStream *_pCont;
_pCont = new TStringStream();
richviewedit->SaveRVFToStream(_pCont, false);
richview->AppendRVFFromStream(_pCont, 0);
richview->Format();
delete _pCont;