How to get the content of richedit control?

277 Views Asked by At

I have a RichEdit ctrl, that was filled by mixed plain text and bitmap data, the bitmap data was inserted by the method described here. How can i get the content of the RichEdit? I want to know where(the begin position) the BITMAP data was inserted. Thanks.

1

There are 1 best solutions below

0
On

Look at the IRichEditOle::GetObject() method. The cp field of the returned REOBJECT struct tells you an object's character position in the RichEdit.