mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
Implement SetWindowPos()
svn path=/trunk/; revision=4707
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user