CDC::QueryAbort
Calls the abort function installed by the SetAbortProc member function for a printing application and queries whether the printing should be terminated.
BOOL QueryAbort( ) const;
Return Value
The return value is nonzero if printing should continue or if there is no abort procedure. It is 0 if the print job should be terminated. The return value is supplied by the abort function.
Requirements
Header: afxwin.h