RemoveSelectedZone Example for C++ 5.0 and later
void CSample_COMDlg::OnButton29()
{
int nRet = pRasterDoc->RemoveSelectedZone (0);
if (nRet == 0)
AfxMessageBox(TEXT("The selected zone is deleted from the zone list in the page."));
else
AfxMessageBox(TEXT("Can't delete the selected zone or there is no selected zone."));
}