This operation checks whether the user has pressed the cancel button. You must periodically use this function to poll the progress dialog box object to determine whether the operation has been canceled.

This operation takes one parameter, the handle of the progress dialog returned by WPROGRESSDIALOG-CREATE. It returns 1 if the user has pressed the cancel button, 0 otherwise, in the data item specified with the GIVING clause or in the special RETURN-CODE register.