Author: jimtabor
Date: Fri Jan 13 04:06:24 2017
New Revision: 73532
URL:
http://svn.reactos.org/svn/reactos?rev=73532&view=rev
Log:
[NtUser]
- Fix menu surfing while using MS Office 2003. See CORE-12085 and CORE-12071.
Modified:
trunk/reactos/win32ss/user/ntuser/painting.c
Modified: trunk/reactos/win32ss/user/ntuser/painting.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/painti…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/painting.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/painting.c [iso-8859-1] Fri Jan 13 04:06:24 2017
@@ -366,6 +366,25 @@
VOID FASTCALL
IntSendChildNCPaint(PWND pWnd)
{
+ PWND Child;
+ HWND *List, *phWnd;
+
+ List = IntWinListChildren(UserGetDesktopWindow());
+ if ( List )
+ {
+ for (phWnd = List; *phWnd; ++phWnd)
+ {
+ Child = ValidateHwndNoErr(*phWnd);
+ if ( Child && Child->hrgnUpdate == NULL && Child->state
& WNDS_SENDNCPAINT)
+ {
+ USER_REFERENCE_ENTRY Ref;
+ UserRefObjectCo(Child, &Ref);
+ IntSendNCPaint(Child, HRGN_WINDOW);
+ UserDerefObjectCo(Child);
+ }
+ }
+ }
+/* FIXME : Use snap shot mode until window death is fixed while surfing menus! Fix
CORE-12085 and CORE-12071.
pWnd = pWnd->spwndChild;
while(pWnd)
{
@@ -377,7 +396,7 @@
UserDerefObjectCo(pWnd);
}
pWnd = pWnd->spwndNext;
- }
+ }*/
}
/*