From c99ffa31ca58826b978344bfe52003cb4b2156af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Fri, 19 Nov 2004 23:07:09 +0000 Subject: [PATCH] At least show the window when wParam is TRUE and the window is currently invisible svn path=/trunk/; revision=11705 --- reactos/lib/user32/windows/defwnd.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/reactos/lib/user32/windows/defwnd.c b/reactos/lib/user32/windows/defwnd.c index 8aea96653ad..e976552b7b3 100644 --- a/reactos/lib/user32/windows/defwnd.c +++ b/reactos/lib/user32/windows/defwnd.c @@ -1,4 +1,4 @@ -/* $Id: defwnd.c,v 1.146 2004/09/12 19:47:49 weiden Exp $ +/* $Id: defwnd.c,v 1.147 2004/11/19 23:07:09 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS user32.dll @@ -272,6 +272,11 @@ UserGetInsideRectNC(HWND hWnd, RECT *rect) VOID DefWndSetRedraw(HWND hWnd, WPARAM wParam) { + if ((BOOL) wParam && 0 == (GetWindowLong(hWnd, GWL_STYLE) & WS_VISIBLE)) + { + ShowWindow(hWnd, SW_NORMAL); + } + UNIMPLEMENTED; }