Click to See Complete Forum and Search --> : Rich Edit and COM


Chris Yourch
April 29th, 1999, 08:06 AM
I am streaming in an RTF file that has embedded bitmaps and the bitmaps are never displayed in the control. I think that I need to implement the IRichEditOleCallback interface for the bitmaps to be displayed. Does anyone know how to do this?

crtracy
May 2nd, 1999, 05:53 AM
Wordpad is actually an MFC sample that uses CRichEditView (and therefore CRichEditCtrl) and includes all the Ole code to get the most out of a Rich Edit control.

I'm developing a log window using a CRichEditCtrl and the Wordpad example was very useful. I'm not using any of the Ole functionallity (yet), but I know it's all there.

To find the sample just type "wordpad" into your MSDN/VCHelp index or try the online MSDN (my MSDN was broken when I started the project, so I know its available through the web).

Chris Tracy

Research Programmer and Student
University of IL at Urbana/Champaign