MFC ListControl Report View의 insert 및 Update
void CPerformanceMonitorDlg::InsertList(const char *pszMachineName, double cpu, long mem, long network, long processMem, long processHandle) { char buffer[128]; LVITEM item; int i = m_ServerListControl.GetItemCount(); m_ServerListControl.InsertItem(LVIF_TEXT, i, pszMachineName, 0, 0, i, NULL); memset(&item, 0 ,sizeof(item)); item.iItem = i; item.mask = LVIF_TEXT; item.iSubItem = 1; sprintf(buffe..
2009. 11. 19.