Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Turn on File Open/Save RichEdit class Editor.

Posted on 1998-03-21
2
Medium Priority
?
241 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 100 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
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…
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.

636 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