What's the best way to convert int to CString? I did it this way (ASCII) and I was looking for a better method:
GetListCtrl().SetItemText(i, 1, CString(pInfo->m_nTeamNumber + 48));
Printable View
What's the best way to convert int to CString? I did it this way (ASCII) and I was looking for a better method:
GetListCtrl().SetItemText(i, 1, CString(pInfo->m_nTeamNumber + 48));
Three steps:
CString strTemp;
strTemp.Format("%d", pInfo->m_nTeamNumber);
GetListCtrl().SetItemText(i, 1, strTemp);
Regards,
Paul McKenzie