This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 请教CListBox如何自动计算TabStops实现垂直对齐?要显示如下格式:
I am a student
hello Canada 123
如何用程序自动计算填充如下的TabStops数组
使得显示数据能垂直左对齐?
CListBox *myclistbox;
int TabStops[3];
showstr1 = "I\t am\t a student\t";
showstr2 = "Hello \t Canada\t 123\t";
format = "%32s \t%16s \t%30s \t" ;
...
myclistbox->SetTabStops(3,TabStops);
...
-tels(Olympics);
2002-5-24
{394}
(#540026@0)