Solved

CharFormat2 in RichEdit

Posted on 1997-09-12
4
336 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
[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
  • 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

691 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