RTF File handling in Visual C++
I need to create RTF files programatically. The content of the files is a mixture of images and data. Is there a way to accomplish this? Please help.
Thanks!
[166 byte] By [
rskuppa] at [2007-11-20 0:38:30]

# 1 Re: RTF File handling in Visual C++
There are RTF help pages out on the web (Microsoft has some), but I find them confusing and too generic.
One method that might work is to create an RTF file with the content you desire using WordPad or some such program, and then look at the output via a text editor or binary editor. This should give you good examples of how to do what you are requesting.
yooper at 2007-11-10 23:20:53 >

# 2 Re: RTF File handling in Visual C++
You can accomplish that in less than one minute by following THIS FAQ ( http://www.dev-archive.com/forum/showthread.php?t=375000).
The difference is that you have to select CRichEditView instead of CEditView.
No sweat. ;)