I am using GetCtrlIndex() to obtain the index of selected value in ring control. Need to set fileglobal with the value of index. TS_PropertySetValNumber() takes double, is there any other function or options to set the varaible with index value?
****************************
int *selectedTestIndex = 0;
switch (event)
{
case EVENT_COMMIT:
GetCtrlIndex(gMainWindow.statPanelTab,control,selectedTestIndex);
tsErrChk(TS_PropertySetValNumber(TSSeqContext, &errorInfo, "FileGlobals.Monitor.TestSelection", 0, selectedTestIndex)); //this takes double and errors out with selectedTestIndex, need to set the varaible with index value of ring control.
}
******************************
TIA.
*************************************************
CLD
*************************************************