Hiiii

I am creating a webcam application in Visual C++. I used vfw32.lib for that. Its working properly but the problem is that I want to hide the capture window, which is created by the capCreateCaptureWindow().

I tried this
hMyWindow = capCreateCaptureWindow("handle",0, 0, 0, ImageX, ImageY, this->m_hWnd, 1);
ShowWindow(SW_HIDE);


but the window is still there...
Please get me out of this problem...