CListCtrl::GetItemText
int GetItemText( int nItem, int nSubItem, LPTSTR lpszText, int nLen ) const;//nItem是行号,nSubItem是列号
CString GetItemText( int nItem, int nSubItem ) const;
Return Value
The version returning int returns the length of the retrieved string.
The version returning a CString returns the item text.
Parameters
nItem
The index of the item whose text is to be retrieved.
nSubItem
Specifies the subitem whose text is to be retrieved.
lpszText
Pointer to a string that is to receive the item text.
nLen
Length of the buffer pointed to by lpszText.