Click here to Skip to main content
15,887,467 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have been trying to streamin an rtf file that contains an image into RichEdit control. I have implemented the necessary streamin Callback and was able to load the file, but the image have refused to display. I think I have to provide some sort of storage by implementing IRichEditOleCallback::GetNewStorage interface but I don't know how and couldn't find an example code in C++ ( not MFC ). what's the right thing to do, and how.
Posted
Comments
Sergey Alexandrovich Kryukov 27-Oct-15 16:30pm    
Why it seems to be "streaming"? You just load RTF content in RichEdit control, which is a trivial thing. What seems to be a problem?
—SAa
Tonex247 28-Oct-15 2:04am    
When I open the file with MS wordpad, the image in it is displayed, but when I open it with my RichEdit control, the image doesn't display. I feel it may have something to do with OLE RichEdit interface. Am I right?
Tonex247 4-Nov-15 19:23pm    
No help from anyone?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900