Home
Developer Resources
QNX RTOS v4
QNX RTOS v4 Knowledge Base

QNX RTOS v4 Knowledge Base

Foundry27
Foundry27
QNX RTOS v4 project
Resources

QNX RTOS v4 Knowledge Base

Title Closing a dialog from code
Ref. No. QNX.000001135
Category(ies) Development
Issue How do I close a dialog from code?
I do not want to use PtDestroy Widget().





Solution Attach a callback of type: "done".

In the callback, if you want to close the dialog return PtContinue, otherwise, return PtEnd.