Implement SetWindowPos()

svn path=/trunk/; revision=4707
This commit is contained in:
Gé van Geldorp 2003-05-18 07:51:41 +00:00
parent 7ba70583b9
commit 19c81674a3
2 changed files with 6 additions and 4 deletions

View file

@ -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

View file

@ -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;