Commit 396bad1f authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

Use the SW_XXX constants when calling ShowWindow().

parent 8d3167cc
......@@ -204,15 +204,15 @@ static INT_PTR CALLBACK SHDlgProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lP
switch (d->dwType)
{
case 0:
ShowWindow(GetDlgItem(hDlg, IDCANCEL), FALSE);
ShowWindow(GetDlgItem(hDlg, IDCANCEL), SW_HIDE);
/* FIXME: Move OK button to position of the Cancel button (cosmetic) */
case 1:
ShowWindow(GetDlgItem(hDlg, IDYES), FALSE);
ShowWindow(GetDlgItem(hDlg, IDNO), FALSE);
ShowWindow(GetDlgItem(hDlg, IDYES), SW_HIDE);
ShowWindow(GetDlgItem(hDlg, IDNO), SW_HIDE);
break;
default:
ShowWindow(GetDlgItem(hDlg, IDOK), FALSE);
ShowWindow(GetDlgItem(hDlg, IDCANCEL), FALSE);
ShowWindow(GetDlgItem(hDlg, IDOK), SW_HIDE);
ShowWindow(GetDlgItem(hDlg, IDCANCEL), SW_HIDE);
break;
}
return TRUE;
......
......@@ -1250,7 +1250,7 @@ static void WINAPI IWineD3DDeviceImpl_SetupFullscreenWindow(IWineD3DDevice *ifac
/* Inform the window about the update. */
SetWindowPos(window, HWND_TOP, 0, 0,
This->ddraw_width, This->ddraw_height, SWP_FRAMECHANGED);
ShowWindow(window, TRUE);
ShowWindow(window, SW_NORMAL);
}
/*****************************************************************************
......
Markdown is supported
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