mirror of
https://github.com/reactos/reactos.git
synced 2024-08-13 06:37:06 +00:00
Use PostOrSend instead of just Send. Works much better.
svn path=/trunk/; revision=34294
This commit is contained in:
parent
c2eaa10731
commit
1d96233453
|
@ -111,7 +111,7 @@ co_IntSendActivateMessages(HWND hWndPrev, HWND hWnd, BOOL MouseActivate)
|
|||
if (cWindow && (IntGetWndThreadId(cWindow) == OldTID))
|
||||
{ // FALSE if the window is being deactivated,
|
||||
// ThreadId that owns the window being activated.
|
||||
co_IntSendMessage(*phWnd, WM_ACTIVATEAPP, FALSE, (LPARAM)NewTID);
|
||||
co_IntPostOrSendMessage(*phWnd, WM_ACTIVATEAPP, FALSE, (LPARAM)NewTID);
|
||||
}
|
||||
}
|
||||
for (phWnd = List; *phWnd; ++phWnd)
|
||||
|
@ -120,7 +120,7 @@ co_IntSendActivateMessages(HWND hWndPrev, HWND hWnd, BOOL MouseActivate)
|
|||
if (cWindow && (IntGetWndThreadId(cWindow) == NewTID))
|
||||
{ // TRUE if the window is being activated,
|
||||
// ThreadId that owns the window being deactivated.
|
||||
co_IntSendMessage(*phWnd, WM_ACTIVATEAPP, TRUE, (LPARAM)OldTID);
|
||||
co_IntPostOrSendMessage(*phWnd, WM_ACTIVATEAPP, TRUE, (LPARAM)OldTID);
|
||||
}
|
||||
}
|
||||
ExFreePool(List);
|
||||
|
|
Loading…
Reference in a new issue