You will need a html rendering component, then from the MFC you will have to construct the HTML text and then send it to the rendering engine via a file or using memory.
You will be able to see samples of that in some articles
here.
There are some of those renderers that need a file to work... others can work directly from memory (my article is an example of that)...
If this don't solve your question... you should give us more details...