Not sure how to type in text to a CListCtrl at run-time?
For creation of my CListCtrl(all data is later added from another method):
pList = new CListCtrl;
pList->Create(LVS_REPORT | WS_CHILD | WS_VISIBLE, CRect(480, 10, 480+140, 370), this, 1000);
pList->SetExtendedStyle(LVS_EX_GRIDLINES);
LVCOLUMN lvColumn;
lvColumn.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH;
lvColumn.fmt = LVCFMT_LEFT;
lvColumn.cx = 60;
lvColumn.pszText = "Iteration";
pList->InsertColumn(0, &lvColumn);
lvColumn.mask = LVCF_FMT | LVCF_TEXT | LVCF_WIDTH;
lvColumn.fmt = LVCFMT_LEFT;
lvColumn.cx = 80;
lvColumn.pszText = "Value";
pList->InsertColumn(1, &lvColumn);
You can use
LVS_EDITLABELSto make one (but only one) column editable.