Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Problem with Undo???

Problem with Undo???

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Azghar Hussain
    wrote on last edited by
    #1

    Hi All, I stuck with a small problem in RichEditControl.My Requirement is i have a dialog box.I need to add a button naming UNDO.i have done some operations(copy,paste,delete) on RichEditCtrl placed on that Dialog,If i pressed that UNDO button the last change should be undone.This is my Requirement. I Used Like this: if(richeditobj.CanUndo()) { richeditobj.Undo()) } For me CanUndo is not returning Correct return Value. Thanks in Advance Aravind:( If you have faith in the cause and the means and in God, the hot Sun will be cool for you.

    2 1 Reply Last reply
    0
    • A Azghar Hussain

      Hi All, I stuck with a small problem in RichEditControl.My Requirement is i have a dialog box.I need to add a button naming UNDO.i have done some operations(copy,paste,delete) on RichEditCtrl placed on that Dialog,If i pressed that UNDO button the last change should be undone.This is my Requirement. I Used Like this: if(richeditobj.CanUndo()) { richeditobj.Undo()) } For me CanUndo is not returning Correct return Value. Thanks in Advance Aravind:( If you have faith in the cause and the means and in God, the hot Sun will be cool for you.

      2 Offline
      2 Offline
      224917
      wrote on last edited by
      #2

      There is a know bug with RichEdit 3.0, check this: http://support.microsoft.com/default.aspx?scid=KB;EN-US;812943[^]


      suhredayan
      There is no spoon.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups