I am just on office, so I can only reply in English. Yes, it's endowed with literary value. Once I've tried
int nRet = listCtrl.SetItemText(nItem, 1, _T("Test"));
also nothing happened.
MSDN is vague about the formatting string, I've typed
strText.Format(TEXT("%s"), iter->m_strLineCont.c_str());
here, the s in "%s" is in lower case, and seems strText is filled with rubbish, so I change the s in upper case, and it seems strText contains reasonable value:
strText.Format(TEXT("%S"), iter->m_strLineCont.c_str());
but also nothing happens.
Another question, I've tried CListView in SDI, it seems all is OK, and the third parameter in the function OnUpdate(CView* /*pSender*/, LPARAM lHint, CObject* pHint) is also passed to a non-zero value when the function be called. But in my MDI counterpart,
if the condition
if(GetDocument() == pHint) be added, it's always false, and debugging shows that pHint is 0. I just can not understand why such a behaviour.
Anyone can give a help or hint is thanked in advance.