Make popup menus topmost windows

svn path=/trunk/; revision=8949
This commit is contained in:
Gé van Geldorp 2004-04-01 23:17:28 +00:00
parent 81361062a2
commit b408a6aeb8

View file

@ -21,7 +21,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: menu.c,v 1.58 2004/03/25 08:51:44 gvg Exp $ /* $Id: menu.c,v 1.59 2004/04/01 23:17:28 gvg Exp $
* *
* PROJECT: ReactOS user32.dll * PROJECT: ReactOS user32.dll
* FILE: lib/user32/windows/menu.c * FILE: lib/user32/windows/menu.c
@ -1763,7 +1763,7 @@ MenuShowPopup(HWND WndOwner, HMENU Menu, UINT Id,
} }
/* Display the window */ /* Display the window */
SetWindowPos(MenuInfo.Wnd, HWND_TOP, 0, 0, 0, 0, SetWindowPos(MenuInfo.Wnd, HWND_TOPMOST, 0, 0, 0, 0,
SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE); SWP_SHOWWINDOW | SWP_NOSIZE | SWP_NOMOVE | SWP_NOACTIVATE);
UpdateWindow(MenuInfo.Wnd); UpdateWindow(MenuInfo.Wnd);