From: Alistair Leslie-Hughes leslie_alistair@hotmail.com
--- dlls/comdlg32/itemdlg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comdlg32/itemdlg.c b/dlls/comdlg32/itemdlg.c index 3f51c37b62f..d42e692bec1 100644 --- a/dlls/comdlg32/itemdlg.c +++ b/dlls/comdlg32/itemdlg.c @@ -1454,7 +1454,7 @@ static void ctrl_container_reparent(FileDialogImpl *This, HWND parent) SetWindowLongW(This->cctrls_hwnd, GWL_STYLE, wndstyle);
SetParent(This->cctrls_hwnd, parent); - ShowWindow(This->cctrls_hwnd, TRUE); + ShowWindow(This->cctrls_hwnd, SW_SHOW);
/* Set the fonts to match the dialog font. */ font = (HFONT)SendMessageW(parent, WM_GETFONT, 0, 0); @@ -1469,7 +1469,7 @@ static void ctrl_container_reparent(FileDialogImpl *This, HWND parent) } else { - ShowWindow(This->cctrls_hwnd, FALSE); + ShowWindow(This->cctrls_hwnd, SW_HIDE);
wndstyle = GetWindowLongW(This->cctrls_hwnd, GWL_STYLE); wndstyle &= ~(WS_CHILD);