mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 07:00:19 +00:00
Implemented MoveWindow, won't work until SetWindowPos is fixed.
svn path=/trunk/; revision=4242
This commit is contained in:
parent
088b5e86e8
commit
7f5d1e97f4
1 changed files with 5 additions and 2 deletions
|
@ -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
|
* COPYRIGHT: See COPYING in the top level directory
|
||||||
* PROJECT: ReactOS user32.dll
|
* PROJECT: ReactOS user32.dll
|
||||||
|
@ -774,7 +774,10 @@ MoveWindow(HWND hWnd,
|
||||||
int nHeight,
|
int nHeight,
|
||||||
WINBOOL bRepaint)
|
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
|
WINBOOL STDCALL
|
||||||
|
|
Loading…
Reference in a new issue