-
Directly show image
hi everybody,
I want to know how the image can directly show in the frame (I am using MFC) from camera. I have already designed the frame in the dialog. I declare that the frame is CStatic mVideoWindow. Could you help me and give me an example?
regards,
-
Re: Directly show image
Hi ,
:wave:
HWND hWnd;
hWnd=capCaptureWindow("Video",WS_CHILD | WS_CLIPCHILDREN | WS_VISIBLE,0,0,360,280,(HWND)this->m_hWnd,1); //create a window
capDriverConnect(hWnd,0); // driver connection
capPreviewRate(hWnd,66); //15fps = 1/66
capPreview(hWnd,true); //show video
its all
-
hi, thanks for your help. I really feel graceful.
From your reply, I have known that I can create a window. But, I don't want to create a window. I just want the image showed on the frame in dialog.
You're so kind. And let me say: Thank you.
;)
-
image