I want to get rtf from a CRichEditCtrl, then insert into another CRichEditCtrl.
but the problem is: it always create new line after I call streamin.
I refernece WordPad and Microsoft Word.if I copy whole line,the paste to
another document, it will create new line. if only copy part of one line, it
will get single line.
then, I made two line, firs is left align, sencond is center align,
if I select all and copy, when paste into another document, it will create
new line.
if I select all first line and part of sencond line. it shows all left align.
what I like is get whole format of rtf(text font,color,size,bold,paragh
format), and insert into another RTF text, do not creat new line, keep all
format.
How could I do.
what I found is:
original: {{\rtf1\......\pard\fs24 "original text"\par}
after insert {{\rtf1\.....\pard\fs24 "insert text"\par \pard "original
text"\par}
I'd like such as {{\rtf1\...\pard\fs24 "insert text + orginal text"\par}
sometime there is no the second "\pard".