Solved

CharFormat2 in RichEdit

Posted on 1997-09-12
4
296 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 100 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

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

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

932 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

9 Experts available now in Live!

Get 1:1 Help Now