Text to Rich Edit conversion on read from file 
Author Message
 Text to Rich Edit conversion on read from file

I need to read in a text file, parse the text, then dump the file into
a rich edit control.  I'm trying to convert an existing MFC
application so the user can use the built-in find features and be able
to save the file out to rtf.  I'm going over CHARFORMAT and
PARAFORMAT, but can't see how to apply things like line spacing, font,
etc. as a default so that these apply to all lines in the file.  Any
help in the right direction would be appreciated.

Benjamin Eakin



Sat, 06 Dec 2003 05:54:54 GMT  
 Text to Rich Edit conversion on read from file
I suggest you refer to one sample named WordPad in VC. It tells us how to
use Rich Edit control in MFC application.

yhhuang
ICQ:91074870



Sat, 06 Dec 2003 14:54:09 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. rich edit not able to load text from file

2. What is easiest way to read text file into mem and push into edit control

3. Rich Text Box Conversions and Other Methods

4. Html to Rich Text conversion

5. rich text box flashes when editing

6. insert text in rich edit control?????????????

7. rich edit text color

8. Rich Edit View /Cntrl Text formatting problem

9. Rich edit text boxes - HELP NEEDED!

10. Changing Text Color in Rich Edit Control

11. Rich Edit text automatically selected.

12. template for rich edit text

 

 
Powered by phpBB® Forum Software