Also send message to desktop window with HWND_BROADCAST.

svn path=/branches/reactos-yarotows/; revision=46726
This commit is contained in:
Jérôme Gardou 2010-04-04 23:20:02 +00:00
parent cc94bd25eb
commit 327d8a1ac6

View file

@ -1223,6 +1223,7 @@ UserPostMessage( HWND Wnd,
if (List != NULL)
{
UserPostMessage(DesktopWindow->hSelf, Msg, wParam, lParam);
for (i = 0; List[i]; i++)
UserPostMessage(List[i], Msg, wParam, lParam);
ExFreePool(List);
@ -1448,6 +1449,9 @@ co_IntSendMessageTimeout( HWND hWnd,
return 0;
}
/* Send message to the desktop window too! */
co_IntSendMessageTimeoutSingle(DesktopWindow->hSelf, Msg, wParam, lParam, uFlags, uTimeout, uResult);
Children = IntWinListChildren(DesktopWindow);
if (NULL == Children)
{
@ -1653,6 +1657,7 @@ UserSendNotifyMessage( HWND hWnd,
if (List != NULL)
{
UserSendNotifyMessage(DesktopWindow->hSelf, Msg, wParam, lParam);
for (i = 0; List[i]; i++)
{
UserSendNotifyMessage(List[i], Msg, wParam, lParam);