mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-26 07:38:09 +00:00
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:
parent
f68f920814
commit
4a526693dd
1 changed files with 3 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue