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

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

  • The explosion in mobile devices and applications has generated a great deal of interest in APIs. Today's businesses are under increased pressure to make it easy to build apps, supply tools to help developers work more quickly, and deploy operational analytics so they can track users, developers, application performance, and more. Apigee Edge provides comprehensive API delivery tools and both operational and business-level analytics in an integrated platform. It is available as on-premise software or through …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds