Edit: Rich Text Editor

Environment:VC 6

I am 14 and I have just started experimenting with MFC. I created an application called Edit. It uses richedit 2.0.

Its features are: Font, Font Size, Paragraph alignment, Bold, Italic, Underline, Strikeout, Date & Time, A taskbar, bullets & numbering, font color & hilite color, subscript & superscript, indentation, case changeing, and more.


Download demo project - 119 Kb


  • Very good attempt

    Posted by Ali Imran on 05/25/2005 03:56am

    Very good attempt, I highly appreciate yoru input for learners.

  • Good job! But it doesn't work hilite color function.

    Posted by Legacy on 12/03/2003 12:00am

    Originally posted by: Jae Pil Eom

    If it is possible, correct this bug that doesn't work hilite color.

    Thank you !

    • hilite color

      Posted by smartlu on 01/11/2005 02:35am

      Add this: cf.dwEffects &= ~CFE_AUTOBACKCOLOR then it will be OK!

  • It doesn't compatible with RTF for use to compile with WinHelp

    Posted by Legacy on 07/08/2003 12:00am

    Originally posted by: delaPipol

    Corrupts de RTF destroying unsupported data.

    • it can not open txt file

      Posted by HandsomeRobber on 01/18/2005 09:36am

      if you fixed this problem, please send to me. Thanks a lot

  • Find does not work either

    Posted by Legacy on 05/28/2003 12:00am

    Originally posted by: KALAITZOGLOU PANAYOTIS

    There are some features that are left udnone. E.g. the Find text does not work with Unicode Characters. Seems that the program uses the standard CFindReplaceDialog that is not unicode enabled.
    Anyway an example of creating an app using RichEdit 2.0 would be very helpful for developers. The problem is that such small (?) details are what we are looking for.

  • Excellent work

    Posted by Legacy on 05/05/2003 12:00am

    Originally posted by: parag

    Hey you have done great code. Actually I am Visual Basics programmer not very good in MFC but I really appriciate your work. In Visual basics there is Rich Text Box Control. on that control you can edit users out put by RTF.selstart, RTF.sellength, RTF.selText properties. Can I do some thing like that in MFC ??
    Means say I want the output as say Ascii No. 100 when user presses some other AScii Number form keyboard.

  • Really Good

    Posted by Legacy on 04/19/2003 12:00am

    Originally posted by: Hossein Lotfian

    For your age and the tallent that you have, i must say you will have a great future. Keep up the good work. i am developing a P2P application freely available for every one. so if you want to join our group, please contact us.


    H Lotfian

  • Edit: Rich Text Editor

    Posted by Legacy on 04/16/2003 12:00am

    Originally posted by: madhu

    it was a terrific effort
    sameer can u mail me ur email id..i have some queries abt rtf files

  • K.O..

    Posted by Legacy on 03/28/2003 12:00am

    Originally posted by: Stephen

    Was useful for the superscript and subscript part.
    But then try doin somethin else with this editor. Try to simulate some of the real Word Processors, and get in stuff that they have. That shud put some spice to it

  • NOT GOOD! :-|

    Posted by Legacy on 01/24/2003 12:00am

    Originally posted by: EliteTerrorist

    So many errors in debug mode!
    And some are in release too!

    So...before u submit ur code...be sure it completely works!
    Cuz not everyone wants to spend his time on fixing that errors! Ppl want clear and working code!
    good luck

  • Very nice

    Posted by Legacy on 01/14/2003 12:00am

    Originally posted by: Hany Azmy

    This is very good for your age. I wounder what will you be doing in few years time...

  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Lenovo recommends Windows 8 Pro. "I dropped my laptop getting out of the taxi." This probably sounds familiar to most IT professionals. If your employees are traveling, you know their devices are in for a rough go. Whether it's a trip to the conference room or a convention out of town, any time equipment leaves a user's desk it is at risk of being put into harm's way. Stay connected at all times, whether at the office or on the go, with agile, durable, and flexible devices like the Lenovo® …

  • On-demand Event Event Date: September 23, 2015 The cloud is not just about a runtime platform for your projects – now, you can do your development in the cloud, too. Check out this webcast to learn how the cloud improves your development experience and team collaboration. Join Dana Singleterry, Principal Product Manager for Oracle Dev Tools, as he discusses how to simplify every aspect of the development lifecycle, including requirements gathering, version management, code reviews, build automation, and …

Most Popular Programming Stories

More for Developers

RSS Feeds

Thanks for your registration, follow us on our social networks to keep up-to-date