RichEdit edt;
// then i pasted a image to the edt from cliboard
const RichText& rt = edt.Get();
// how can i get the image from RichText?
tks!
Well, there can be more than one...
However, if you want to get all of them, then the easy way is to use RichText::Iterator to iterate through all paragraphs, then RichPara::GetCount, RichPara::operator[] to iterate through all paragraph parts, check if that is object, convert the object to its natural size and paint it...