QNX RTOS 6.1A:
I’m having problems getting the value as to whether a toggle button is set or unset. I was trying to use the PtGetResource() function with Pt_SET to see a return value and determine whether the toggle was set.
PtGetResource (ABW_PtPass, Pt_SET, &tbuf, 0);
The information that was returned was garbage data so i am not sure whether i was reading it wrong or whether the PtGetResource should not be used with a toggle button.
Is there an easy way to determine whether a button is set?
There is only 1 module and the check is being done on the same panel as the checkbox.
Thx for any help!