|
-
April 1st, 1999, 02:17 AM
#1
How to use CRichEditView/CRichEditDoc
Hi,
I'm working on an application which needs simple text editing features - something similar to a wordpad.
W've a CRichEditDoc and CRichEditView derived classes having OLE container support application. I'm specifically trying to figure out code that will cause
the selected file (due to the Open menu option) to be displayed in the RichEditView. Note i've tried to look at the MFC Wordpad sample but i've not been able to figure it out!
Any help on this will be highly appreciated
TIA
Archana
-
April 1st, 1999, 04:02 AM
#2
Same problem here, keep me updated
Hi,
I am also facing the same trouble
raphael
-
April 1st, 1999, 04:16 AM
#3
Re: How to use CRichEditView/CRichEditDoc
Do you know the format of the file you are trying to open?
If you do then you can use Serialize(ar).
If not I dont know.
Simon
-
May 12th, 1999, 05:33 PM
#4
Re: How to use CRichEditView/CRichEditDoc
There is a sample project called WORDPAD in Visual C++ Ver 6.0. This contains the complete implementation of the Wordpad.Exe tool which we use for word processing. This sample uses CRichEditView, CRichEditDoc and CRichEditCntrItem classes. By extention, it also uses the CRichEditCtrl. This Sample code can also be got at http:\\www.Microsoft.com
Alternatively, Microsoft ships richTx32.Ocx control in Visual Studio Ver 5.0 and above. This rich text control can be used to display and edit text in ASCII and RTF formats. The files saved in RTF formats could be opened in many word processing tools such as MS-Word. I have used this control in my project and it works excellent. This OCX control is very robust and can load and save huge files.
Hope this helps you.
ESC2102021021210220805
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|