Implemented MoveWindow, won't work until SetWindowPos is fixed.

svn path=/trunk/; revision=4242
This commit is contained in:
Richard Campbell 2003-03-04 22:34:48 +00:00
parent 088b5e86e8
commit 7f5d1e97f4

View file

@ -1,4 +1,4 @@
/* $Id: window.c,v 1.16 2002/11/10 18:17:40 chorns Exp $
/* $Id: window.c,v 1.17 2003/03/04 22:34:48 rcampbell Exp $
*
* COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS user32.dll
@ -774,7 +774,10 @@ MoveWindow(HWND hWnd,
int nHeight,
WINBOOL bRepaint)
{
return FALSE;
int flags = SWP_NOZORDER | SWP_NOACTIVATE;
if (!bRepaint) flags |= SWP_NOREDRAW;
return SetWindowPos( hWnd, 0, X, Y, nWidth, nHeight, SWP_NOZORDER |
SWP_NOACTIVATE | bRepaint ? SWP_NOREDRAW : 0 );
}
WINBOOL STDCALL