BOOL OnQueryCancel( );
Return Value
Nonzero to allow the cancel operation; otherwise 0.
Remarks
This member function is called when the user clicks the Cancel button and before the cancel action has taken place.
Override this member function to specify an action the program takes when the user clicks the Cancel button.
The default implementation of OnQueryCancel returns TRUE.