mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +00:00
[NtUser]
- Fix menu surfing while using MS Office 2003. See CORE-12085 and CORE-12071. svn path=/trunk/; revision=73532
This commit is contained in:
parent
633f34d7c4
commit
6d7fcc4bab
1 changed files with 20 additions and 1 deletions
|
@ -366,6 +366,25 @@ IntSendNCPaint(PWND pWnd, HRGN hRgn)
|
|||
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 @@ IntSendChildNCPaint(PWND pWnd)
|
|||
UserDerefObjectCo(pWnd);
|
||||
}
|
||||
pWnd = pWnd->spwndNext;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue