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/d…
==============================================================================
--- 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;