| | |
| | | |
| | | void CDlgDeffectHistroy::OnDblclkListHistoryDefect(NMHDR *pNMHDR, LRESULT *pResult) |
| | | { |
| | | LPNMITEMACTIVATE pNMItemActivate = reinterpret_cast<LPNMITEMACTIVATE>(pNMHDR); |
| | | // TODO: 여기에 컨트롤 알림 처리기 코드를 추가합니다. |
| | | |
| | | int nPos = m_ctrlListDefectHistory.GetSelectionMark(); |
| | | if (nPos >= 0) |
| | | |
| | | /*< LYW 20211005 - #3662 ADD Start >*/ |
| | | try |
| | | { |
| | | CString strText; |
| | | strText = m_ctrlListDefectHistory.GetItemText(nPos, 0); |
| | | int nDefectIdx = _ttoi(strText); |
| | | if (nDefectIdx < 0) |
| | | return; |
| | | LPNMITEMACTIVATE pNMItemActivate = reinterpret_cast<LPNMITEMACTIVATE>(pNMHDR); |
| | | // TODO: 여기에 컨트롤 알림 처리기 코드를 추가합니다. |
| | | |
| | | //History tool 에 인덱스 번호 넘기기 |
| | | m_pDDL2P->UpdateSelectDefectInfoMap2(nDefectIdx); |
| | | int nPos = m_ctrlListDefectHistory.GetSelectionMark(); |
| | | if (nPos >= 0) |
| | | { |
| | | CString strText; |
| | | strText = m_ctrlListDefectHistory.GetItemText(nPos, 0); |
| | | int nDefectIdx = _ttoi(strText); |
| | | if (nDefectIdx < 0) |
| | | return; |
| | | |
| | | //History tool 에 인덱스 번호 넘기기 |
| | | m_pDDL2P->UpdateSelectDefectInfoMap2(nDefectIdx); |
| | | } |
| | | |
| | | *pResult = 0; |
| | | } |
| | | catch (...) |
| | | { |
| | | return; |
| | | } |
| | | /*< LYW 20211005 - #3662 ADD End >*/ |
| | | |
| | | *pResult = 0; |
| | | } |
| | | |
| | | void CDlgDeffectHistroy::OnSize(UINT nType, int cx, int cy) |