Solved

Turn on File Open/Save RichEdit class Editor.

Posted on 1998-03-21
2
239 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
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 goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

707 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