halcon联合C#HOperatorSet.OpenWindow(0, 0, hWindowControl1.Width, hWindowControl1.Height, hWindowControl1.HalconWindow, "", "", out hv_WindowHandle);第五个参数可以用hWindowControl1.HalconWindow, 用自己定义的
hWindow = hWindowControl1.HalconWindow; 在 hWindow.OpenWindow(0,0, hWindowControl1.Width,hWindowControl1.Height,0,"","");时 第五个参数不能用hWindowControl1.HalconWindow,写成0可以打开但是是单独的弹窗,不能嵌入到窗口里,因为上传不了图片,只能打字,还请前辈多多指教
|