PyCDialog.OnCancel Virtual

OnCancel()

Called by the MFC architecture when the user selects the Cancel button.

Comments

The procedure is expected to dismiss the window with the PyCDialog::EndDialog method. The base implementation (which dismisses the dialog) is not called if a handler exists. This can be done via PyCDialog::OnCancel.

See Also

PyCDialog::OnCancel