Author: jimtabor
Date: Sat Apr 12 23:58:12 2014
New Revision: 62727
URL:
http://svn.reactos.org/svn/reactos?rev=62727&view=rev
Log:
[NtUser|User32]
- Adding more message write backs. Test code for explorer task bar size change. See
CORE-7447.
Modified:
trunk/reactos/win32ss/user/ntuser/callback.c
trunk/reactos/win32ss/user/ntuser/message.c
trunk/reactos/win32ss/user/user32/windows/message.c
Modified: trunk/reactos/win32ss/user/ntuser/callback.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/callba…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/callback.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/callback.c [iso-8859-1] Sat Apr 12 23:58:12 2014
@@ -374,6 +374,8 @@
case WM_NCCREATE:
case WM_STYLECHANGING:
case WM_WINDOWPOSCHANGING:
+ case WM_SIZING:
+ case WM_MOVING:
TRACE("Copy lParam, Message %d Size %d lParam %d!\n", Message,
lParamBufferSize, lParam);
if (InSendMessage)
// Copy into kernel space.
Modified: trunk/reactos/win32ss/user/ntuser/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/messag…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/message.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/message.c [iso-8859-1] Sat Apr 12 23:58:12 2014
@@ -136,6 +136,8 @@
{ WM_COPYGLOBALDATA, MMS_SIZE_WPARAM, MMS_FLAG_READ },
{ WM_WINDOWPOSCHANGED, sizeof(WINDOWPOS), MMS_FLAG_READWRITE },
{ WM_WINDOWPOSCHANGING, sizeof(WINDOWPOS), MMS_FLAG_READWRITE },
+ { WM_SIZING, sizeof(RECT), MMS_FLAG_READWRITE },
+ { WM_MOVING, sizeof(RECT), MMS_FLAG_READWRITE },
};
static PMSGMEMORY FASTCALL
Modified: trunk/reactos/win32ss/user/user32/windows/message.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/window…
==============================================================================
--- trunk/reactos/win32ss/user/user32/windows/message.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/windows/message.c [iso-8859-1] Sat Apr 12 23:58:12
2014
@@ -2930,6 +2930,17 @@
return STATUS_INFO_LENGTH_MISMATCH;
}
KMMsg.lParam = (LPARAM) ((char *) CallbackArgs +
sizeof(WINDOWPROC_CALLBACK_ARGUMENTS));
+ switch(KMMsg.message)
+ {
+ case WM_SIZING:
+ {
+ PRECT prect = (PRECT) KMMsg.lParam;
+ ERR("WM_SIZING 1 t %d l %d r %d b
%d\n",prect->top,prect->left,prect->right,prect->bottom);
+ break;
+ }
+ default:
+ break;
+ }
}
else
{
@@ -2965,6 +2976,20 @@
{
}
+ if (0 <= CallbackArgs->lParamBufferSize)
+ {
+ switch(KMMsg.message)
+ {
+ case WM_SIZING:
+ {
+ PRECT prect = (PRECT) KMMsg.lParam;
+ ERR("WM_SIZING 2 t %d l %d r %d b
%d\n",prect->top,prect->left,prect->right,prect->bottom);
+ break;
+ }
+ default:
+ break;
+ }
+ }
return ZwCallbackReturn(CallbackArgs, ArgumentLength, STATUS_SUCCESS);
}