|
-
April 22nd, 2004, 10:49 AM
#1
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,
-
April 23rd, 2004, 02:01 AM
#2
Re: Directly show image
Hi ,
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
-
April 23rd, 2004, 05:08 AM
#3
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.
-
April 25th, 2004, 12:14 PM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|