AnnUndoEnable Example for C++ 5.0 and later

For more information on declaration and unlocking procedures used in testing this example, refer to Annotation Declaration Information.

//This example sets the annotation undo depth to 10 and
//enables the annotation undo capability
void CTutorDlg::OnButtonAnnundoenable() 
{
   m_pRasterAnn->PutAnnUndoEnable (TRUE);
   m_pRasterAnn->PutAnnUndoDepth(10);
}