Click to See Complete Forum and Search --> : CallBack function stops getting called when Video Preview Window fully hidden or mini


gbessens
November 3rd, 2004, 12:09 PM
Hi,

I'm capturing live video from a webcam using VFW. I have a callback funciton that gets called every time a new frame comes in.

My application requires that the video preview callback function still be called even if the preview window is out of view so that I may keep processing incoming video frames. Spy++ tells me that the preview window still receives WM_TIMER messages, but no longer recvs WM_PAINT or WM_ERASEBKGND messages when minimized or out of view.

Does anyone have a solution so that the callback function keeps getting called? I'm stumped for a solution.

Regards,

Gilles Bessens