Commit 4a526693 authored by smorlat's avatar smorlat
Browse files

change to overlapped window

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@671 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent f68f9208
No related merge requests found
Showing with 3 additions and 2 deletions
...@@ -322,8 +322,9 @@ static HWND create_window(int w, int h) ...@@ -322,8 +322,9 @@ static HWND create_window(int w, int h)
ms_error("AdjustWindowRect failed."); ms_error("AdjustWindowRect failed.");
} }
ms_message("AdjustWindowRect: %li,%li %li,%li",rect.left,rect.top,rect.right,rect.bottom); 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 , hwnd=CreateWindow("Video Window", "Video window",
CW_USEDEFAULT, CW_USEDEFAULT, rect.right-rect.left,rect.bottom-rect.top, WS_OVERLAPPEDWINDOW /*WS_THICKFRAME*/ | WS_VISIBLE ,
CW_USEDEFAULT, CW_USEDEFAULT, rect.right-rect.left,rect.bottom-rect.top,
NULL, NULL, hInstance, NULL); NULL, NULL, hInstance, NULL);
if (hwnd==NULL){ if (hwnd==NULL){
ms_error("Fail to create video window"); ms_error("Fail to create video window");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment