| DA2 Type Currently Displayed |
Result from Cancel of Custom Application |
| No DA2 |
Exit is successful and UF_UI_run_dialog returns. |
| Open C DA2 |
Exit is not successful and the user is not allowed to cancel
the custom application until the Open C dia log is cancelled.* |
| Open C DA2 which is temporarily replaced with a Special
Function dialog |
The exit is not successful and both dialogs need to be cancelled. |
| Special Function dialog only |
The exit will be successful, the Special Function dia log
will be cancelled by NX, and UF_UI_run_dialog will return. |
* If the lock/unlock protocols are used then the Open C DA2 can be cancelled
with a call to UF_UI_cancel_uf_dialog prior to calling UF_UI_exit_dialog.
However, if you do not wish to use the lock/unlock protocols it is recommended
to inhibit functions that call UF_UI_exit_dialog, while there is a DA2
displayed.