Implemented MoveWindow and SetWindowPos, SetWindowPos is based on WinPosSetWindowPos, so now i need to investigate why it's not working :P.

svn path=/trunk/; revision=4259
This commit is contained in:
Richard Campbell 2003-03-07 05:38:02 +00:00
parent cba82eeb5e
commit 3548ecb7a4
2 changed files with 41 additions and 40 deletions

View file

@ -978,15 +978,16 @@ NtUserModifyUserStartupInfoFlags(
DWORD Unknown0, DWORD Unknown0,
DWORD Unknown1); DWORD Unknown1);
DWORD BOOL
STDCALL STDCALL
NtUserMoveWindow( NtUserMoveWindow(
DWORD Unknown0, HWND hWnd,
DWORD Unknown1, int X,
DWORD Unknown2, int Y,
DWORD Unknown3, int nWidth,
DWORD Unknown4, int nHeight,
DWORD Unknown5); BOOL bRepaint
);
DWORD DWORD
STDCALL STDCALL
@ -1445,16 +1446,16 @@ NtUserSetWindowPlacement(
DWORD Unknown0, DWORD Unknown0,
DWORD Unknown1); DWORD Unknown1);
DWORD BOOL
STDCALL STDCALL NtUserSetWindowPos(
NtUserSetWindowPos( HWND hWnd,
DWORD Unknown0, HWND hWndInsertAfter,
DWORD Unknown1, int X,
DWORD Unknown2, int Y,
DWORD Unknown3, int cx,
DWORD Unknown4, int cy,
DWORD Unknown5, UINT uFlags
DWORD Unknown6); );
DWORD DWORD
STDCALL STDCALL

View file

@ -1,4 +1,4 @@
/* $Id: window.c,v 1.25 2003/03/06 23:57:03 gvg Exp $ /* $Id: window.c,v 1.26 2003/03/07 05:38:02 rcampbell Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -788,17 +788,18 @@ NtUserLockWindowUpdate(DWORD Unknown0)
return 0; return 0;
} }
DWORD STDCALL BOOL STDCALL
NtUserMoveWindow(DWORD Unknown0, NtUserMoveWindow(
DWORD Unknown1, HWND hWnd,
DWORD Unknown2, int X,
DWORD Unknown3, int Y,
DWORD Unknown4, int nWidth,
DWORD Unknown5) int nHeight,
BOOL bRepaint)
{ {
UNIMPLEMENTED int flags = SWP_NOZORDER | SWP_NOACTIVATE;
if (!bRepaint) flags |= SWP_NOREDRAW;
return 0; return NtUserSetWindowPos( hWnd, 0, X, Y, nWidth, nHeight, flags );
} }
DWORD STDCALL DWORD STDCALL
@ -993,18 +994,17 @@ NtUserSetWindowPlacement(DWORD Unknown0,
return 0; return 0;
} }
DWORD STDCALL BOOL
NtUserSetWindowPos(DWORD Unknown0, STDCALL NtUserSetWindowPos(
DWORD Unknown1, HWND hWnd,
DWORD Unknown2, HWND hWndInsertAfter,
DWORD Unknown3, int X,
DWORD Unknown4, int Y,
DWORD Unknown5, int cx,
DWORD Unknown6) int cy,
UINT uFlags)
{ {
UNIMPLEMENTED return WinPosSetWindowPos(hWnd, hWndInsertAfter, X, Y, cx, cy, uFlags);
return 0;
} }
DWORD STDCALL DWORD STDCALL