Please refer to MSDN's LVITEM. In order to ensure the optimal size within the library when obtaining strings, does not use cchTextMax. public LVIF mask { get; set; } public int iItem { get; set; } public int iSubItem { get; set; } public LVIS state { get; set; } public LVIS stateMask { get; set; } public string pszText { get; set; } public int iImage { get; set; } public IntPtr lParam { get; set; } JR |