首页 > 代码库 > WM_CAP_DRIVER_CONNECT

WM_CAP_DRIVER_CONNECT

WM_CAP_DRIVER_CONNECT  

 

//ActiveX ---->OnCreate

m_pit.Create(IDD_CAM_DIALOG,this);
  CRect rc;
  this->GetClientRect(&rc);
  m_pit.m_cam.MoveWindow(&rc);
  m_pit.ShowWindow(SW_SHOW);
  pThread_Cam = AfxBeginThread((AFX_THREADPROC)CamThreadProc,this);
  CloseHandle(m_pit.pThread_Cam);