//-----------------in .h IVideoWindow *m_pVideoWindow; CStatic m_staticScreen; // also some code in dodataexchange... //-----------------in .cpp HWND m_ScreenhWnd = m_staticScreen.GetSafeHwnd() ; hr=pGraphBuilder->QueryInterface(IID_IVideoWindow,(LPVOID*) m_pVideoWindow); m_pVideoWindow->put_Visible(OAFALSE); hr=m_pVideoWindow->put_Owner((OAHWND)m_pVideoWindow); //m_pVideoWindow->put_Owner(NULL); hr=m_pVideoWindow->put_WindowStyle(WS_CHILD|WS_CLIPCHILDREN);
null
put_owner
m_hWnd
m_ScreenhWnd
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)