diff --git a/reactos/lib/user32/windows/window.c b/reactos/lib/user32/windows/window.c index 2a920382e19..97d403883a2 100644 --- a/reactos/lib/user32/windows/window.c +++ b/reactos/lib/user32/windows/window.c @@ -1,4 +1,4 @@ -/* $Id: window.c,v 1.31 2003/05/17 14:37:23 gvg Exp $ +/* $Id: window.c,v 1.32 2003/05/18 07:51:41 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS user32.dll @@ -1014,8 +1014,7 @@ SetWindowPos(HWND hWnd, int cy, UINT uFlags) { - UNIMPLEMENTED; - return FALSE; + return NtUserSetWindowPos(hWnd,hWndInsertAfter, X, Y, cx, cy, uFlags); } WINBOOL STDCALL diff --git a/reactos/subsys/win32k/ntuser/winpos.c b/reactos/subsys/win32k/ntuser/winpos.c index 2b7c4fb4bcb..fcc1f6bf045 100644 --- a/reactos/subsys/win32k/ntuser/winpos.c +++ b/reactos/subsys/win32k/ntuser/winpos.c @@ -1,4 +1,4 @@ -/* $Id: winpos.c,v 1.8 2003/05/17 14:30:28 gvg Exp $ +/* $Id: winpos.c,v 1.9 2003/05/18 07:51:41 gvg Exp $ * * COPYRIGHT: See COPYING in the top level directory * PROJECT: ReactOS kernel @@ -500,6 +500,9 @@ WinPosSetWindowPos(HWND Wnd, HWND WndInsertAfter, INT x, INT y, INT cx, /* FIXME: Move the window bits */ } + Window->WindowRect = NewWindowRect; + Window->ClientRect = NewClientRect; + if (WinPos.flags & SWP_HIDEWINDOW) { Window->Style &= ~WS_VISIBLE;