user32: DefMDIChildProc sends WM_MDINEXT with active child handle.

This commit is contained in:
Dylan Smith 2010-07-20 17:54:15 -04:00 committed by Alexandre Julliard
parent c345ca1a0f
commit c51b1e6db6
1 changed files with 2 additions and 2 deletions

View File

@ -1494,10 +1494,10 @@ LRESULT WINAPI DefMDIChildProcW( HWND hwnd, UINT message,
return SendMessageW( GetParent(client), message, wParam, lParam);
break;
case SC_NEXTWINDOW:
SendMessageW( client, WM_MDINEXT, 0, 0);
SendMessageW( client, WM_MDINEXT, (WPARAM)ci->hwndActiveChild, 0);
return 0;
case SC_PREVWINDOW:
SendMessageW( client, WM_MDINEXT, 0, 1);
SendMessageW( client, WM_MDINEXT, (WPARAM)ci->hwndActiveChild, 1);
return 0;
}
break;