From 4a753f90cf61be5ed6d93d336b1ace01e9ca75b1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 23 Jan 2008 21:42:46 +0100 Subject: [PATCH] user32: Menus should be top-most windows. --- dlls/user32/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c index cb60ffcf80f..99c4933e9c6 100644 --- a/dlls/user32/menu.c +++ b/dlls/user32/menu.c @@ -1834,7 +1834,7 @@ static BOOL MENU_ShowPopup( HWND hwndOwner, HMENU hmenu, UINT id, /* Display the window */ - SetWindowPos( menu->hWnd, HWND_TOP, 0, 0, 0, 0, + SetWindowPos( menu->hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE ); UpdateWindow( menu->hWnd ); return TRUE;