mirror of
https://github.com/reactos/reactos.git
synced 2025-07-13 07:04:15 +00:00
Implemented CloseWindow()
svn path=/trunk/; revision=4335
This commit is contained in:
parent
6952a4bc36
commit
2c77bbfae2
1 changed files with 5 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
/* $Id: window.c,v 1.24 2003/03/18 06:46:10 rcampbell Exp $
|
/* $Id: window.c,v 1.25 2003/03/18 07:01:09 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
|
||||||
|
@ -238,7 +238,10 @@ ChildWindowFromPointEx(HWND hwndParent,
|
||||||
WINBOOL STDCALL
|
WINBOOL STDCALL
|
||||||
CloseWindow(HWND hWnd)
|
CloseWindow(HWND hWnd)
|
||||||
{
|
{
|
||||||
return FALSE;
|
SendMessageA(hWnd, WM_CLOSE, 0, 0);
|
||||||
|
SendMessageA(hWnd, WM_SYSCOMMAND, SC_CLOSE, 0);
|
||||||
|
|
||||||
|
return (WINBOOL)(hWnd);
|
||||||
}
|
}
|
||||||
|
|
||||||
HWND STDCALL
|
HWND STDCALL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue