Void sendtext(CString str) { // do some operations ................ pView->displaytext(str); } void displaytext(CString inr) { CListCtrl &ctlsde = this->GetListCtrl(); ctlsde.InsertColumn(1, _T("First "), LVCFMT_LEFT, 80); int nItem; nItem = ctlsde.InsertItem(0, inr); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)