?
Solved

CharFormat2 in RichEdit

Posted on 1997-09-12
4
Medium Priority
?
357 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
ID: 1306204
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
ID: 1306205
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 300 total points
ID: 1306206
 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
ID: 1306207
Could you let me know when you're done???
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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…
In this post we will learn different types of Android Layout and some basics of an Android App.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
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.

807 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