Q3View_Cancel
You can use theQ3View_Cancelfunction to cancel the rendering, picking, bounding, or writing operation currently occurring in a view.
TQ3Status Q3View_Cancel (TQ3ViewObject view);
view- A view.
DESCRIPTION
TheQ3View_Cancelfunction interrupts the process of rendering an image of a model, submitting objects for picking, calculating a bounding box or sphere, or writing data to a file in accordance with the view specified by theviewparameter. Any subsequent calls to_Submitroutines for the specified view will fail, andQ3View_EndRendering(or the similar call for picking, bounding, or writing) will returnkQ3ViewStatusCancelledwhen it is next executed. Note that you must still callQ3View_EndRendering(or the similar call for picking, bounding, or writing) after you have calledQ3View_Cancel.You can call
Q3View_Cancelat any time. If the specified view is not in the submitting state,Q3View_CancelreturnskQ3Failure.