CRichEditCtrl::CanUndo

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

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

For more information, see EM_CANUNDO in the Win32 documentation.

CRichEditCtrl OverviewClass MembersHierarchy Chart

See Also   CRichEditCtrl::Undo, CRichEditCtrl::EmptyUndoBuffer