QNX RTOS v4 Knowledge Base
QNX RTOS v4 Knowledge Base
Title |
Done vs. Cancel callback |
Ref. No. |
QNX.000009908 |
Category(ies) |
Development |
Issue |
Contrary to the docs, a Cancel callback in the base window does not exit the application, although a Done callback quits the application as expected.
What is the difference between a Done callback and a Cancel callback?
|
Solution |
The difference between Done and Cancel callback is in the value of apinfo->reason. It is set by PhAB library to either ABR_CANCEL or ABR_DONE.
A Done callback in the main windows causes the application to terminate if it's in the base window, while a Cancel callback does not.
There are no other differences. |
|