开发者

Create RTF file using MFC

I have a task to create a rtf file in MFC. i.e. to read the data from xml file and parse the rft content and create the rtf file. I parsed the RTF content and created a file file1.rtf using CFile, but the output 开发者_如何学Cfile doesnt display the content properly. Is there any other way to create the file.

Thanks in advance.


The simplest way I've found is to use a RichTextBox control (either on a dialog or created dynamically). Use the control's methods to build your content.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜