m_ISESTList.SetExtendedStyle(m_ISESTList.GetExtendedStyle() | LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);
m_ISESTList.InsertColumn(0, "项目", 0, 70);
m_ISESTList.InsertColumn(1, "定标状态", 0, 100);
m_ISESTList.InsertColumn(2, "定标时间", 0, 100);
m_ISESTList.InsertColumn(3, "定标有效时间", 0, 100);
m_ISESTList.InsertItem(0, "Na");//插入行
m_ISESTList.InsertItem(1, "K");
m_ISESTList.InsertItem(2, "Cl");
m_ISESTList.SetItemText(0, 1, "需要定标");
m_ISESTList.SetItemText(1, 1, "需要定标");
m_ISESTList.SetItemText(2, 1, "需要定标");
POSITION pos = m_RLoadList.GetFirstSelectedItemPosition();//选中的项的位置
int nSelect = -1;
CString ss, tt;
if (pos == NULL)
return;
else{
nSelect = m_RLoadList.GetNextSelectedItem(pos);
ss = m_RLoadList.GetItemText(nSelect, 0);//将选中项的第一列赋给ss
。。。
}