Поделиться через


CEdit::CanUndo

Call this function to determine if the last edit operation can be undone.

BOOL CanUndo( ) const;

Возвращаемое значение

Nonzero if the last edit operation can be undone by a call to the Undo member function; 0 if it cannot be undone.

Заметки

For more information, see EM_CANUNDO in the Windows SDK.

Пример

See the example for CEdit::Undo.

Требования

Header: afxwin.h

См. также

Основные понятия

CEdit Class

CEdit Members

Hierarchy Chart

CEdit::Undo

CEdit::EmptyUndoBuffer