| | |
| | | strTitle.Format(_T("BORD[%d] CHANNEL[%d]"), pCamera->m_iCamera, 0); |
| | | m_staticCamInfo[i].SetWindowText(strTitle); |
| | | } |
| | | } |
| | | } |
| | | |
| | | if (m_pGlassData != nullptr) { |
| | | m_frameImg[i].SetRecipe(m_pGlassData->GetGlassRecipe()); |
| | | } |
| | | } |
| | | |
| | | m_bInitDlg = TRUE; |
| | |
| | | BOOL CViewMain_ScanImage::ManualThreadStart(int nCmd,int nIndex /*= -1*/) |
| | | { |
| | | if(m_pManualProcess) { |
| | | DWORD dwWait = ::WaitForSingleObject(m_pManualProcess->m_hThread, 1000); |
| | | DWORD dwWait = ::WaitForSingleObject(m_pManualProcess->m_hThread, 3000); |
| | | if (dwWait == WAIT_TIMEOUT) { |
| | | DWORD dwExitCode; |
| | | if ((::GetExitCodeThread(m_pManualProcess->m_hThread, &dwExitCode)) && (dwExitCode == STILL_ACTIVE)) { |