| | |
| | | ON_BN_CLICKED(IDC_CHK_REVIEW_DEFECT, &CReveiwHistoryDlg::OnClickedChkReviewDefect) |
| | | ON_BN_CLICKED(IDC_CHK_SINGLE, &CReveiwHistoryDlg::OnClickedChkSingle) |
| | | ON_EN_CHANGE(IDC_EDIT_FILE_COUNT, &CReveiwHistoryDlg::OnChangeEditFileCount) |
| | | ON_WM_KEYDOWN() |
| | | END_MESSAGE_MAP() |
| | | |
| | | // CReveiwHistoryDlg 메시지 처리기 |
| | |
| | | |
| | | return TRUE; |
| | | } |
| | | else if (NM_CLICK == pDispInfo->hdr.code) |
| | | else if (NM_CLICK == pDispInfo->hdr.code || LVN_ITEMCHANGING == pDispInfo->hdr.code) |
| | | { |
| | | if (pDispInfo->item.row == 0) |
| | | { |
| | |
| | | |
| | | return TRUE; |
| | | } |
| | | else if (NM_CLICK == pDispInfo->hdr.code) |
| | | else if (NM_CLICK == pDispInfo->hdr.code || LVN_ITEMCHANGING == pDispInfo->hdr.code) |
| | | { |
| | | if (pDispInfo->item.row == 0) |
| | | { |
| | |
| | | } |
| | | m_Formation.m_vecHeaderTemp.clear(); |
| | | } |
| | | |
| | | |
| | | void CReveiwHistoryDlg::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags) |
| | | { |
| | | // TODO: 여기에 메시지 처리기 코드를 추가 및/또는 기본값을 호출합니다. |
| | | |
| | | CDialogEx::OnKeyDown(nChar, nRepCnt, nFlags); |
| | | } |
| | |
| | | void SetCellCount() { m_nCellCount = m_nCellCount + 1; } |
| | | int GetCellCount() { return m_nCellCount; } |
| | | |
| | | afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags); |
| | | }; |
| | |
| | | |
| | | CString strDefectInfo; |
| | | COLORREF cl; |
| | | cl = RGB(39, 255, 39); |
| | | cl = RGB(0, 0, 0); |
| | | |
| | | pDC->SetTextAlign(TA_LEFT | TA_BASELINE); |
| | | pDC->SetTextColor(cl); |
| | | strDefectInfo.Format("%d : %.3lf, %.3lf Cam: %d, SCan : %d", m_pMouseOveredDefect->m_nDefectID, m_pMouseOveredDefect->dPositionX, m_pMouseOveredDefect->dPositionY, m_pMouseOveredDefect->m_nCameraID, m_pMouseOveredDefect->m_nScanIdx); |
| | | pDC->TextOut(GetWindowPosX(m_pMouseOveredDefect->dPositionX)+5, GetWindowPosY(m_pMouseOveredDefect->dPositionY) - 7, strDefectInfo); |
| | | strDefectInfo.Format("%dCam %dSCan, %d : %.3lf, %.3lf ", m_pMouseOveredDefect->m_nCameraID, m_pMouseOveredDefect->m_nScanIdx, m_pMouseOveredDefect->m_nDefectID, m_pMouseOveredDefect->dPositionX, m_pMouseOveredDefect->dPositionY); |
| | | pDC->TextOut(GetWindowPosX(m_pMouseOveredDefect->dPositionX)+5, GetWindowPosY(m_pMouseOveredDefect->dPositionY)+3, strDefectInfo); |
| | | |
| | | } |
| | | if (m_pSelectedFormation) |
| | |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[PCControl_Send] Review Start Ack! => %d"), 1); |
| | | break; |
| | | |
| | | case PCControlSend_ResultDataComplete_CPJT: |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[PCControl_Send] Result Data Complete! => %d"), 1); |
| | | case PCControlSend_ReviewEndAck_CPJT: |
| | | m_pSP2P->ISP2P_DisplayMessage(_T("[PCControl_Send] Review End Ack! => %d"), 1); |
| | | break; |
| | | } |
| | | } |