BCGControlBar Pro for MFC
virtual void CBCGPEditCtrl::OnRemoveUndoAction ( BCGP_EDIT_UNDO_ACTION pUndoAction)

Called by the framework when undo action data is being removed.

You should override this function in a derived class if you associate user-defined data with undo actions and you need to deallocate this data.

pUndoActionPoints to the undo action to be removed from the undo buffer.