I am working in Windows MFC application..In my design am displaying the file details (type,name,size) in a CListCtrl
control. I found those file details using FileStatus
but when I try to display, I am not able to display the file size since its an integer. I tried CListCtrl::SetItemText
and I also tried to type cast but its not working.
int nIndex = m_ListCtrl.InsertItem(0, filename);
m_myList.SetItemText(nIndex, 0, fileSize);
m_myList is the CListCtrl variable. Can any one help me please?