CListCtrl 사용시에 BOOL CClassName::OnInitDialog() { CDialogEx::OnInitDialog(); CRect tempRect; m_CClassNameListCtrl.GetClientRect(&tempRect); int tempWidth = (int)(tempRect.Width()/5.0 + 0.5); m_CClassNameListCtrl.SetExtendedStyle(LVS_EX_GRIDLINES|LVS_EX_FULLROWSELECT|\\ LVS_EX_ONECLICKACTIVATE); m_CClassNameListCtrl.InsertColumn(0, _T("ID"), LVCFMT_CENTER, tempWidth, -1); // Col#1 추가 m_CClassNameListCtrl.InsertColumn(1, _T("입력파일명"), LVCFMT_CENTER, \\ (tempRect.Width()-tempWidth), -1); // Col#2 추가 UpdateDataCClassNameList(); // 각 필드 업데이트 ... } void CClassName::UpdateDataInputCalList() { m_pApp = (CClassNameApp *)AfxGetApp(); m_pProjectInfoEx = &(m_pApp->m_ProjectInfoEx); CString InputStr; CPathNameInfo InputStrInfo; CRect tempRect; m_ClassNameListCtrl.GetClientRect(&tempRect); int tempWidth = (int)(