BCGControlBar Pro for MFC
virtual BOOL CBCGPEditCtrl::CanRedo ( ) const
virtual

Tells whether redo operation is available.

Returns
TRUE if a redo operation is available; otherwise FALSE.

Call this member function to determine whether a redo operation is available or not. Redo operation is available if the undo buffer is not empty and the current position in the undo buffer is not at the buffer's end.

m_nUndoBufferPos holds the current position in the undo buffer. m_bBOL and m_bEOL specify whether the current position is beyond the start or end of the buffer.