06-07-2007 01:33 PM
06-07-2007 02:06 PM - edited 06-07-2007 02:06 PM
Each numeric gets its own callback function.
Panel1_cb
{
...
case EVENT_VAL_CHANGED:
GetCtrlVal(panel1Handle, &clonedNumVal)
SetCtrlVal(panel2Handle, clonedNumVal)
break;
}
Panel2_cb
{
...
case EVENT_VAL_CHANGED:
GetCtrlVal(panel2Handle, &clonedNumVal)
SetCtrlVal(panel1Handle, clonedNumVal)
break;
}
alternately, you can use one callbackl and check "who" called it and set them that way.
NOTE: extreme shorthand notation was used in writing the above. You will need to add more detail.
Message Edited by scomack on 06-07-2007 02:08 PM
06-11-2007 04:40 AM
06-11-2007 11:29 AM