Commit c51b1e6d authored by Dylan Smith's avatar Dylan Smith Committed by Alexandre Julliard

user32: DefMDIChildProc sends WM_MDINEXT with active child handle.

parent c345ca1a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment