"Anatoly Lyutin" <vostok(a)etersoft.ru> wrote:
> --- dlls/user32/mdi.c 5 Mar 2008 19:42:23 -0000 1.24
> +++ dlls/user32/mdi.c 18 Apr 2008 12:07:50 -0000
> @@ -649,6 +728,9 @@ static LONG MDI_ChildActivate( HWND clie
> }
>
> SendMessageW( child, WM_MDIACTIVATE, (WPARAM)prevActiveWnd, (LPARAM)child );
> +
> + SetWindowPos( frame, HWND_TOP, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE|SWP_NOACTIVATE|SWP_FRAMECHANGED );
SWP_NOZORDER should be there for sure, and in that case HWND_TOP doesn't make
sense, so just use 0 (although HWND_TOP == 0) instead.
--
Dmitry.