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

x
?
Solved

CharFormat2 in RichEdit

Posted on 1997-09-12
4
Medium Priority
?
350 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 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
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.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

618 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