Using the following lines of code, the StreamIn only reads until lResult=32767 .
If I use the same lines just changed by
"m_rich.StreamIn(SF_TEXT,strm)", the file is read until it is finished.
This is a big problem for me because I want to read big FORMATTED RTF-Files; does somebody in here have the sourcecode of
I find it very remarkable, that the ...StreamOut does wok properly and creates wonderful very large RTF - files.
I use rich edit controls in ATL dialogs with wrapper classes of ATL or WTL. The edit box does not show anything with StreamIn method, and the call back function is not called at all. Any ideas? Thanks in advance.
I have a problem to solve. I have to handle font-weight for bold in RTF file. For Example, if you set a bold for a text and select a weight of 800, extra bold or any of the following weight values in my text, how do i write the appropriate bold tag in RTF so that the bold appears with the correct weight.
I appreciate any help in this regards. All I am seeing is only on \b tag for bold.