[ros-bugs] [Bug 4463] REGRESSION: can't close programs with ALT+F4

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Mon Oct 26 10:01:50 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=4463


gabrielilardi <gabrielilardi at hotmail.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #6 from gabrielilardi <gabrielilardi at hotmail.it>  2009-10-26 10:01:49 CET ---
Author: gadamopoulos
Date: Mon Oct 26 09:53:47 2009
New Revision: 43773

URL: http://svn.reactos.org/svn/reactos?rev=43773&view=rev
Log:
We should send WM_SYSCOMMAND when we get a WM_SYSKEYUP , not when we get a
WM_SYSKEYDOWN message

Modified:
    trunk/reactos/dll/win32/user32/windows/defwnd.c

Modified: trunk/reactos/dll/win32/user32/windows/defwnd.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/defwnd.c?rev=43773&r1=43772&r2=43773&view=diff
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/defwnd.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/defwnd.c [iso-8859-1] Mon Oct 26
09:53:47 2009
@@ -1393,11 +1393,7 @@
              /* if( HIWORD(lParam) & ~KEYDATA_PREVSTATE ) */
                 if ( (wParam == VK_MENU || wParam == VK_LMENU
                                     || wParam == VK_RMENU) && !iMenuSysKey )
-                {
                    iMenuSysKey = 1;
-                   /* mimic behaviour of XP, sending a WM_SYSCOMMAND when
pressing <alt> */
-                   SendMessageW( top, WM_SYSCOMMAND, SC_KEYMENU, 0L );
-                }
                 else
                    iMenuSysKey = 0;


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list