Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5339

vfw32 (video for windows) put capture window into a panel?

$
0
0

Hey there,

 

I'm using the vf32.lib (+gdi32.lib) to connect a webcam to cvi. I use the command:

 

capCreateCaptureWindow("live capture", WS_POPUP|WS_CAPTION, 0, 0, WIDTH, HEIGHT, 0, 0)

 

to create a capture window. But its a popup window. I want to integrate the webcam preview into a canvas or something else on my panel in CVI. Is there any change to do it? I tried with

 

capCreateCaptureWindow("live capture", WS_CHILD | WS_VISIBLE, 0, 0, WIDTH, HEIGHT, panelHandle??, 0)

 

but it doesnt work ^^.


Viewing all articles
Browse latest Browse all 5339

Trending Articles