我是这样写的。请问怎么设置让他每行都不一样m_ImageList->Create(32,32,ILC_COLOR32 | ILC_MASK, 20, 10);
m_ImageList->Add(fi.hIcon); 
m_list.SetImageList(m_ImageList,1);

解决方案 »

  1.   

    CListCtrl::InsertItem  
    Example  See Also  Send Feedback  
     Updated: November 2007Inserts an item into the list view control.  
    int InsertItem(
       const LVITEM* pItem 
    );
    int InsertItem(
       int nItem,
       LPCTSTR lpszItem 
    );
    int InsertItem(
       int nItem,
       LPCTSTR lpszItem,
       int nImage 
    );
    int InsertItem(
       UINT nMask,
       int nItem,
       LPCTSTR lpszItem,
       UINT nState,
       UINT nStateMask,
       int nImage,
       LPARAM lParam
    );
     
      

  2.   

    imagelist中加入多个图片,insert时指定要显示哪个图片