05-22-2007 03:18 AM
05-22-2007 03:25 AM
You need to pass a string (array of chars) to GetTextBoxLine. Try using:
int value;
char buffer[32];
GetTextBoxLine (main_panel_handle, mainpanel_TEXTBOX, 0, buffer);
Scan (buffer, "%d", &value); or value = atoi (buffer);
SetCtrlAttribute (manu_panel_handle, manu_panel_red_slider, ATTR_CTRL_VAL, value);
05-22-2007 03:40 AM