Module: wine Branch: master Commit: 4a753f90cf61be5ed6d93d336b1ace01e9ca75b1 URL: http://source.winehq.org/git/wine.git/?a=commit;h=4a753f90cf61be5ed6d93d336b... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Wed Jan 23 21:42:46 2008 +0100 user32: Menus should be top-most windows. --- dlls/user32/menu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c index cb60ffc..99c4933 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;