ListCtrl 구조 CListCtrl::InsertItem(nRow, strName); // 이름 CListCtrl::SetItemText(nRow, 1, strScore); // 성적 ======================================================== 성적이 변경될때 OnDrawItem() 자동 호출되게하려면 CListCtrl::SetItemText(nRow, 1, strScore); // 성적 CListCtrl::RedrawItems(nRow, nRow); 또는, CListCtrl::SetItemText(nRow, 1, strScore); // 성적 CListCtrl::SetItemText(nRow, 0, strName); // 이름 이름만 변경하면 OnDrawIt..
1. 해당 Dialog 속성 변경 Border = None Style = Child 2. DECLARE_DYNCREATE(CMonitorDlg /*클래스명*/) 3. IMPLEMENT_DYNCREATE(CMonitorDlg /*클래스명*/, CDialog /*또는 CDialogEx 부모클래스 */) 동적객체를 만들때 new 연산자를 사용하듯, View Class 에 #include "MonitorDlg.h" 추가. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 #include "MonitorDlg.h" ShowDialog(RUNTIME_CLASS(CMonitorDlg/*클래스이름*/), IDD_MONITOR_DIALOG/*다이얼로그박스 ID*/); // 아래 CMainFrame::..