怎样过得去选择项目的标签内容?

解决方案 »

  1.   

    怎样过得去选择项目的标签内容?
    -------------------------------请楼主表达清楚点!!以下代码为得到header名 LVCOLUMN  lvcol;
    char  str[256];
    int       nColNum;
    CString  strColumnName; nColNum = 0;
    lvcol.mask = LVCF_TEXT;
    lvcol.pszText = str;
    lvcol.cchTextMax = 256;
    while(m_list.GetColumn(nColNum, &lvcol))
    {
    strColumnName = lvcol.pszText;
    nColNum++;
    }
      

  2.   

    to windyloft(好好吃饭)
    GetItemText()的第一个参数怎样获得?
      

  3.   

    知道了,
    str=m_list.GetItemText(pNMListView->iItem,0);
    MessageBox(str);
    怎么第一次是显示正常的,而以后就会出现三次对话框?