struct link;
struct choice{
CString choicename;
link *choiceitem;
struct choice *next;
};
struct link{
CString choiceitems;
struct link *next;
};
CString zzitem[4];
zzitem[0]="好";
zzitem[1]="良好";
zzitem[2]="优秀";
zzitem[3]="差";
choice yourchoice[4];
yourchoice[0].choicename="平时政治表现";
yourchoice[1].choicename="参加集体活动";
yourchoice[2].choicename="课外钻研能力";
yourchoice[3].choicename="人际组织能力";
link yourlink[4];
yourlink[0].choiceitems="好,良好,优秀,差";
yourlink[1].choiceitems="积极,较积极,不积极";
yourlink[2].choiceitems="强,较强,不强";
yourlink[3].choiceitems="突出,一般,差";
yourchoice[0].choiceitem=&yourlink[0];
yourchoice[1].choiceitem=&yourlink[1];
yourchoice[2].choiceitem=&yourlink[2];
yourchoice[3].choiceitem=&yourlink[3];
m_list1.ResetContent();
CString getchoice;
int m;
m=m_list.GetCurSel();
// m_list.GetText(m,getchoice);
// m_list1.AddString(getchoice);
CString items;
items=yourchoice[m].choiceitem->choiceitems;
m_list1.AddString(items);