Solved

CharFormat2 in RichEdit

Posted on 1997-09-12
4
288 Views
Last Modified: 2013-11-20
I was looking through RICHEDIT.H when I cam across the Type Definition for CharFormat2.

Is this any different from CharFormat which you normally use in a RichEditCtrl/View?

If so...do I use this the same as I would use CharFormat or do I need a later version of the control?

I have VC++ 5.0
0
Comment
Question by:gav061697
  • 2
  • 2
4 Comments
 
LVL 4

Expert Comment

by:jtwine100697
Comment Utility
I would say, since I am unable to find any actual use of it, that it is for a later version of the Rich Edit Control.  Possibly a new one is shipped with IE4.0?

-=- James.

0
 

Author Comment

by:gav061697
Comment Utility
If you search Microsoft's site for 'Rich Edit Version 2.0' it gives you some info about it including the new structures and that it is included with NT4.0 and works on Win95.

However it doesn't say how to get it working with RichEditView and RichEditDoc.
0
 
LVL 4

Accepted Solution

by:
jtwine100697 earned 100 total points
Comment Utility
 Read further in the Richedit.h file.

   You will find that the RichEdit control Version 2.0 uses those structures for advanced effects.

   If you want to experiment with the RE V2  control, you must first call a LoadLibrary() on the "RICHED20.DLL" file to make the new window class available.

   It has got some nice features, like the built-in multiple level Undo/Redo (with "Names", which tell you want action is to be Undone/Redone), and other neat stuff.

   You can derive a class from CRichEdit and make changes to the wrapper functions to use the new structure(s) and create new functions to support the new features.

   This is something that I am working on, and it will be posted on my webpage, at some point in the feature.

   Peace!

-=- James.
0
 

Author Comment

by:gav061697
Comment Utility
Could you let me know when you're done???
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

771 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

10 Experts available now in Live!

Get 1:1 Help Now