Get the value from the control.

Call:

ts_diaolgcontrol(iDialogcontrolDescr, "GetCheck", int &onoff);


Here:

onoff - return value - 0/1.