is there a way to negate APIIo_IsProcessCanceledID? I am currently using this inside a for-loop:
if (ACAPI_Interface(APIIo_IsProcessCanceledID))
{
reply = DGAlert(DG_WARNING,
"WARNING!!!",
"Do you really want to stop this operation?",
"",
"Yes", // DG_OKAY
"No"); // DG_CANCEL
if (reply == DG_OK)
{
ACAPI_Interface(APIIo_CloseProcessWindowID);
completed = DSE_Cancel;
break;
}
}
I am planning to put that on the else part but haven't found it in the documentation.
EDIT (2014-Sep-30)BTW: Currently, when the user clicks the "No" button, the
DGAlert() will always pop-up since
ACAPI_Interface(APIIo_IsProcessCanceledID) is now
true.