xj qian
2024-07-17 0b8444d0eef50d1ee4e0d0b51e174fa5b447d802
jrj/xframe/xcontrol/xlistview.hpp
@@ -552,7 +552,7 @@
      return SetImageList(GetHWND(), iImageList, himl);
   }
   int InsertColumn(int nCol, string label, int nFormat, int nWidth, int nSubItem)//增加列,加入列头
   int InsertColumn(int nCol, string label, int nFormat, int nWidth, int nSubItem=0)//增加列,加入列头
   {
      return InsertColumn(GetHWND(), nCol, label, nFormat, nWidth, nSubItem);
   }
@@ -562,7 +562,12 @@
      return InsertItem(GetHWND(),xIndex, label, pictureindex);
   }
   int InsertItemEx(int xIndex, string label, int pictureindex = 0,LPARAM data)//only the label and picture index need to be specified
   int InsertItemEx(int xIndex, string label, int pictureindex , KXMLDOMElement data )//only the label and picture index need to be specified
   {
      return InsertItemEx(GetHWND(), xIndex, label, pictureindex, data.ptr());
   }
   int InsertItemEx(int xIndex, string label, int pictureindex = 0,LPARAM data=0)//only the label and picture index need to be specified
   {
      return InsertItemEx(GetHWND(), xIndex, label,  pictureindex , data);
   }