| | |
| | | void CPathSettingDlg::DoDataExchange(CDataExchange* pDX) |
| | | { |
| | | CDialogEx::DoDataExchange(pDX); |
| | | DDX_Control(pDX, IDC_COMBO_OFFSET_DIRECTION_X, m_comboDirectionX); |
| | | DDX_Control(pDX, IDC_COMBO_OFFSET_DIRECTION_Y, m_comboDirectionY); |
| | | } |
| | | |
| | | |
| | |
| | | BOOL CPathSettingDlg::Create(CWnd* pParentWnd) |
| | | { |
| | | return CDialogEx::Create(IDD, pParentWnd); |
| | | |
| | | |
| | | } |
| | | |
| | | BOOL CPathSettingDlg::PreTranslateMessage(MSG* pMsg) |
| | |
| | | INIWriteStr("Path", "Inspector", m_strInspectorPath, strFilePath); |
| | | GetDlgItemText(IDC_EDIT_REVIEW_PATH, m_strReviewPath); |
| | | INIWriteStr("Path", "Review", m_strReviewPath, strFilePath); |
| | | /*< LYW 20211018 - #3684 ADD Start >*/ |
| | | CString strTemp; |
| | | strTemp.Format(_T("%d"), m_comboDirectionX.GetCurSel()); |
| | | INIWriteStr("Path", "DirectionX", strTemp, strFilePath); |
| | | strTemp.Format(_T("%d"), m_comboDirectionY.GetCurSel()); |
| | | INIWriteStr("Path", "DirectionY", strTemp, strFilePath); |
| | | |
| | | /*< LYW 20211018 - #3684 ADD End >*/ |
| | | |
| | | |
| | | AfxMessageBox(_T("저장 되었습니다"), MB_OK | MB_ICONWARNING); |
| | | |
| | |
| | | m_strInspectorPath = INIReadStr(strAppName, _T("Inspector"), strFilePath); |
| | | m_strReviewPath = INIReadStr(strAppName, _T("Review"), strFilePath); |
| | | |
| | | CString strTemp; |
| | | strTemp = INIReadStr(strAppName, _T("DirectionX"), strFilePath); |
| | | m_comboDirectionX.SetCurSel(_ttoi(strTemp)); |
| | | strTemp = INIReadStr(strAppName, _T("DirectionY"), strFilePath); |
| | | m_comboDirectionY.SetCurSel(_ttoi(strTemp)); |
| | | |
| | | if (m_strAlignPath == "") |
| | | { |
| | | m_strAlignPath.Format(_T("D:\\ResultData\\Align\\")); |
| | |
| | | SetDlgItemText(IDC_EDIT_REVIEW_PATH, m_strReviewPath); |
| | | |
| | | LOG(Dbg, _T("[PathSetting] Start Review Path Setting Load")); |
| | | } |
| | | } |
| | | |
| | | |
| | | /*< LYW 20211018 - #3684 ADD Start >*/ |
| | | BOOL CPathSettingDlg::OnInitDialog() |
| | | { |
| | | __super::OnInitDialog(); |
| | | |
| | | // TODO: 여기에 추가 초기화 작업을 추가합니다. |
| | | m_comboDirectionX.AddString(_T("Nomal")); |
| | | m_comboDirectionX.AddString(_T("Reverse")); |
| | | m_comboDirectionY.AddString(_T("Nomal")); |
| | | m_comboDirectionY.AddString(_T("Reverse")); |
| | | |
| | | m_comboDirectionX.SetCurSel(0); |
| | | m_comboDirectionY.SetCurSel(0); |
| | | |
| | | return TRUE; // return TRUE unless you set the focus to a control |
| | | // 예외: OCX 속성 페이지는 FALSE를 반환해야 합니다. |
| | | } |
| | | /*< LYW 20211018 - #3684 ADD End >*/ |