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

  • Live Event Date: December 11, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Market pressures to move more quickly and develop innovative applications are forcing organizations to rethink how they develop and release applications. The combination of public clouds and physical back-end infrastructures are a means to get applications out faster. However, these hybrid solutions complicate DevOps adoption, with application delivery pipelines that span across complex hybrid cloud and non-cloud environments. Check out this …

  • Due to internal controls and regulations, the amount of long term archival data is increasing every year. Since magnetic tape does not need to be periodically operated or connected to a power source, there will be no data loss because of performance degradation due to the drive actuator. Read this white paper to learn about a series of tests that determined magnetic tape is a reliable long-term storage solution for up to 30 years.

Most Popular Programming Stories

More for Developers

RSS Feeds