Hello,
i want to block and to unblock a button from within the code of a qnx appbuilder project. I found out, how the blocking works:
PtArg_t FlagArgs[2];
PtSetArg(&FlagArgs[0],Pt_ARG_FLAGS,Pt_BLOCKED,Pt_BLOCKED);
PtSetArg(&FlagArgs[1],Pt_ARG_FLAGS,Pt_GHOST,Pt_GHOST);
PtSetResources(button, 2, (PtArg_t *) &FlagArgs );
At another position in the code, i want to unblock / unghost this button.
How does this works?
I didn´t find something in the documentation and tried it with “Pt_UNBLOCK”, but of course it does not work .
Thanks,