| | |
| | | Invalidate(FALSE); |
| | | } |
| | | /*< LYW 20211025 - #3684 ADD End >*/ |
| | | |
| | | |
| | | BOOL DlgReviewOffSetTool::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult) |
| | | { |
| | | // TODO: 여기에 특수화된 코드를 추가 및/또는 기본 클래스를 호출합니다. |
| | | if (m_ctrlGridReviewOffSetInfo.GetSafeHwnd() && wParam == (WPARAM)m_ctrlGridReviewOffSetInfo.GetDlgCtrlID()) |
| | | { |
| | | //*pResult = 1; |
| | | GV_DISPINFO *pDispInfo = (GV_DISPINFO*)lParam; |
| | | if (NM_DBLCLK == pDispInfo->hdr.code) |
| | | { |
| | | //int nCol = pDispInfo->item.col; |
| | | if (pDispInfo->item.row) |
| | | { |
| | | int nRow = (pDispInfo->item.row) - 1; |
| | | int CamIdx = nRow / m_nScanCount; |
| | | int scanIdx = nRow % m_nScanCount; |
| | | |
| | | if (m_pDDL2P) |
| | | { |
| | | m_pDDL2P->IDRO2P_SetOffsetPram(CamIdx, scanIdx, TRUE); |
| | | } |
| | | |
| | | } |
| | | } |
| | | } |
| | | |
| | | return CDialogEx::OnNotify(wParam, lParam, pResult); |
| | | } |