Ashman wrote: SetDlgItemText(IDC_BUGGER, _T(itemcount)); If itemcount is an int, this statement makes no sense. If it is not an int, then the following statement is in error:
for (int i=1;i<itemcount;i++)
Ashman wrote: const int IDX = m_sold.InsertItem(i, _T("")); This statement looks odd as i is never 0. In other words, the first item added has an index of 1.
A rich person is not the one who has the most, but the one that needs the least.