如题

解决方案 »

  1.   

    http://expert.csdn.net/Expert/topic/1477/1477711.xml?temp=.4786646
      

  2.   

    typedef struct _LVCOLUMN { 
        UINT mask; 
        int fmt; 
        int cx; 
        LPTSTR pszText; 
        int cchTextMax; 
        int iSubItem; 
    #if (_WIN32_IE >= 0x0300)
        int iImage;
        int iOrder;
    #endif
    } LVCOLUMN, FAR *LPLVCOLUMN; 
    包括标头栏的各种信息
      

  3.   

    LVCOLUMN Item;
    Item.mask = GVIF_TEXT|GVIF_FORMAT;
    Item.row = m_iRow;
     Item.col = m_iCol; 
            Item.nFormat = DT_CENTER|DT_VCENTER|DT_SINGLELINE|DT_END_ELLIPSIS; 
               Item.szText.Format(_T("%s"),"";