Hi everyone, please help me.
I have written an example with PtColorWell widget on PhAB, QNX 6.3.3.
I used a PtColorWell widget to change color of a PtRect, so I write a callback with event Pt_CS_COLOR_CHANGED, its name ColorChange() as below.
int ColorChange( PtWidget_t *widget, ApInfo_t *apinfo, PtCallbackInfo_t *cbinfo )
widget = widget, apinfo = apinfo, cbinfo = cbinfo;
PtGetResource( widget, Pt_ARG_CS_COLOR, &mau, 0 );
return( Pt_CONTINUE );
But when I changed the PtColorWell, the variable mau had not changed. ( Can someone fix it for me? pls.