user32: Menus should be top-most windows.

This commit is contained in:
Alexandre Julliard 2008-01-23 21:42:46 +01:00
parent e85f7ed79e
commit 4a753f90cf
1 changed files with 1 additions and 1 deletions

View File

@ -1834,7 +1834,7 @@ static BOOL MENU_ShowPopup( HWND hwndOwner, HMENU hmenu, UINT id,
/* Display the window */ /* 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 ); SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE );
UpdateWindow( menu->hWnd ); UpdateWindow( menu->hWnd );
return TRUE; return TRUE;