BCGSoft Professional Editor for MFC
virtual BOOL CBCGPEditCtrl::OnRedo ( BOOL  bSetCaret = TRUE,
BOOL  bRedraw = TRUE 

Performs redo operation.

Nonzero if the next redo operation was completed successfully; otherwise 0.

The function will return FALSE if undo buffer is empty or the current position in undo buffer is "end of buffer" (m_bEOL is TRUE).