CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2015
    Posts
    1

    How load an rtf file into RichEdit

    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.

  2. #2
    Join Date
    Nov 2002
    Location
    California
    Posts
    4,556

    Re: How load an rtf file into RichEdit

    You are correct about implementation of IRichEditOleCallback::GetNewStorage. This is a common inquiry, and one representative thread is "Images dont show up in RichEditCtrl" at http://forums.codeguru.com/showthrea...n-RichEditCtrl

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured