change to overlapped window

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@671 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
This commit is contained in:
smorlat 2009-09-21 13:42:18 +00:00
parent f68f920814
commit 4a526693dd

View file

@ -322,8 +322,9 @@ static HWND create_window(int w, int h)
ms_error("AdjustWindowRect failed.");
}
ms_message("AdjustWindowRect: %li,%li %li,%li",rect.left,rect.top,rect.right,rect.bottom);
hwnd=CreateWindow("Video Window", "Video window", /*WS_OVERLAPPEDWINDOW*/ WS_THICKFRAME|WS_VISIBLE ,
CW_USEDEFAULT, CW_USEDEFAULT, rect.right-rect.left,rect.bottom-rect.top,
hwnd=CreateWindow("Video Window", "Video window",
WS_OVERLAPPEDWINDOW /*WS_THICKFRAME*/ | WS_VISIBLE ,
CW_USEDEFAULT, CW_USEDEFAULT, rect.right-rect.left,rect.bottom-rect.top,
NULL, NULL, hInstance, NULL);
if (hwnd==NULL){
ms_error("Fail to create video window");