I have developed a GUI where in I need to update some(4) parameters in a ListBox.I am usind the following code to do this.
CString tmp;
tmp.Format("%4d %4d %4d",a,b,c);
listBx.AddString(tmp);
a,b and c are integers.listBx gets updated every 1 sec.
But I am not getting the output in a formatted manner.
Suppose if a is variable between 2 digit and 4 digit numbers the entire string gets distrubed.both b and c columns move left or right depending upon no, of digits in a.
How can this be solved.
Thanks in advance