得到listctrl行数int nHeadNum = m_list.GetItemCount();
CString GetItemText( int nItem, int nSubItem ) const; int GetItemText( int nItem, int nSubItem, LPTSTR lpszText, int nLen ) const;
CListCtrl.GetItemCount()
List.GetItemCount();//取行数