Author: tretiakov
Date: Tue Jul 18 15:45:28 2006
New Revision: 23135
URL:
http://svn.reactos.org/svn/reactos?rev=23135&view=rev
Log:
Make guiconsole window movable and respond to minimize and close buttons (regression
caused by r22822)
Modified:
trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/guiconsole.c Tue Jul 18 15:45:28 2006
@@ -1138,7 +1138,7 @@
// some private way
}
static LRESULT FASTCALL
-GuiConsoleHandleSysMenuCommand(HWND hWnd, WPARAM wParam, LPARAM lParam)
+GuiConsoleHandleSysMenuCommand(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam)
{
DPRINT1("GuiConsoleHandleSysMenuCommand entered %d\n", wParam);
@@ -1159,7 +1159,7 @@
GuiConsoleShowConsoleProperties(hWnd, FALSE);
break;
default:
- break;
+ return DefWindowProcW(hWnd, Msg, wParam, lParam);
}
return 0;
@@ -1272,7 +1272,7 @@
GuiConsoleMouseMove(hWnd, wParam, lParam);
break;
case WM_SYSCOMMAND:
- return GuiConsoleHandleSysMenuCommand(hWnd, wParam, lParam);
+ return GuiConsoleHandleSysMenuCommand(hWnd, msg, wParam, lParam);
default:
Result = DefWindowProcW(hWnd, msg, wParam, lParam);
break;