//获得动态创建窗口的句柄
cvNamedWindow(“Mywindow”, 0);
HWND hWnd = (HWND)cvGetWindowHandle(“Mywindow”);
//获得动态创建窗口父窗口的句柄
HWND hParent = ::GetParent(hWnd);
//获得动态创建窗口的句柄
cvNamedWindow(“Mywindow”, 0);
HWND hWnd = (HWND)cvGetWindowHandle(“Mywindow”);
//获得动态创建窗口父窗口的句柄
HWND hParent = ::GetParent(hWnd);