Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CEdit::Undo
CEdit                                       Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL Undo();
 
  Remarks
 
  Use to undo the last edit-control operation.
 
  An undo operation can also be undone. For example, you can restore
  deleted text with the first call to Undo, and remove the text again with
  a second call to Undo as long as there is no intervening edit
  operation.
 
  Return Value
 
  For a single-line edit control, the return value is always TRUE. For a
  multiple-line edit control, the return value is TRUE if the undo
  operation is successful, or FALSE if the undo operation fails.
 
  See Also
 
  CEdit::CanUndo, EM_UNDO
 
 
                                     -♦-