Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Determines if the last editing operation can be undone.
BOOL CanUndo( ) const;
Return Value
Nonzero if the last edit operation can be undone by a call to the Undo member function; 0 if it cannot be undone.
Remarks
For more information, see EM_CANUNDO in the Windows SDK.
Example
// Undo the last operation, if possible.
if (m_myRichEditCtrl.CanUndo())
   m_myRichEditCtrl.Undo();
Requirements
Header: afxcmn.h
See Also
Reference
CRichEditCtrl::EmptyUndoBuffer