Partager via


CEdit::CanUndo

Call this function to determine if the last edit 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

See the example for CEdit::Undo.

Requirements

Header: afxwin.h

See Also

Reference

CEdit Class

Hierarchy Chart

CEdit::Undo

CEdit::EmptyUndoBuffer

Other Resources

CEdit Members