@jetdv Edward, I wonder if you can help me with this one. I have a batch render tool and I need to be able to abort the render sequence. This tool is in my Application Extension, so when the render sequence starts the UI is locked against any button action. I have a few lines of code that checks the render status for Cancel. If true it flags the render sequence to either abort the whole sequence or just aborts the one in progress when the cancel button is clicked, depending on whether a message box I provide has the response Yes or No. My problem is that when the Cancel button is clicked, another system message is displayed as below:-
This somehow prevents the abort flag from being set. If I manage to respond to this dialog before the current render completes, my message box appears which allows the abort sequence process to complete. It's as if the RenderStatus.Canceled state is cleared after the current render is completed and before I can test for it so that the abort mechanism isn't initiated. Do you know of a way to suppress this dialog? I've scoured the API and can't see an obvious boolean. Thanks for any help you can give me.