Solved

Turn on File Open/Save RichEdit class Editor.

Posted on 1998-03-21
2
234 Views
Last Modified: 2008-02-01
I need to know how to open and save files in a rich text editor program.  if I set m_bRTF  = FALSE   I will loose the ability to save formated text.  
Also I need to get text into the editor.  (Actually from the Comm port).  

The help files in Visual C++ 5.0 covers just about everything BUT this.
0
Comment
Question by:TheOldMan
2 Comments
 

Author Comment

by:TheOldMan
ID: 1183726
Edited text of question
0
 
LVL 3

Accepted Solution

by:
gaohong earned 50 total points
ID: 1183727
Actually you should not set m_bRTF, but instead use EM_STREAMOUT
to communicate with your text editor with SF_TEXT format.

Check out help file for details
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now