mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
- Implemented SwitchToThisWindow, not 100% correct more then likely...but it should work well enough, considering the function is deprecated.
- Implemented BringWindowToTop svn path=/trunk/; revision=12147
This commit is contained in:
parent
f7adabb3ca
commit
0132fcd8f1
2 changed files with 17 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: stubs.c,v 1.69 2004/12/12 01:40:36 weiden Exp $
|
||||
/* $Id: stubs.c,v 1.70 2004/12/16 03:57:35 rcampbell Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS user32.dll
|
||||
|
@ -7,7 +7,7 @@
|
|||
* PROGRAMMER: Casper S. Hornstrup (chorns@users.sourceforge.net)
|
||||
* NOTES: If you implement a function, remove it from this file
|
||||
* UPDATE HISTORY:
|
||||
* 08-05-2001 CSH Created
|
||||
* 08-F05-2001 CSH Created
|
||||
*/
|
||||
|
||||
#include "user32.h"
|
||||
|
@ -223,15 +223,6 @@ EndTask(
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
*/
|
||||
VOID
|
||||
STDCALL
|
||||
SwitchToThisWindow ( HWND hwnd, BOOL fUnknown )
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: window.c,v 1.120 2004/08/15 21:36:30 chorns Exp $
|
||||
/* $Id: window.c,v 1.121 2004/12/16 03:57:35 rcampbell Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS user32.dll
|
||||
|
@ -82,13 +82,18 @@ BeginDeferWindowPos(int nNumWindows)
|
|||
|
||||
|
||||
/*
|
||||
* @unimplemented
|
||||
* @implemented
|
||||
*/
|
||||
BOOL STDCALL
|
||||
BringWindowToTop(HWND hWnd)
|
||||
{
|
||||
UNIMPLEMENTED;
|
||||
return FALSE;
|
||||
return NtUserSetWindowPos( hWnd,
|
||||
HWND_TOP,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
SWP_NOSIZE | SWP_NOMOVE );
|
||||
}
|
||||
|
||||
|
||||
|
@ -108,6 +113,12 @@ CascadeWindows(HWND hwndParent,
|
|||
}
|
||||
*/
|
||||
|
||||
VOID
|
||||
STDCALL
|
||||
SwitchToThisWindow ( HWND hwnd, BOOL fUnknown )
|
||||
{
|
||||
ShowWindow ( hwnd, SW_SHOW );
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
|
Loading…
Reference in a new issue