Author: gadamopoulos
Date: Sat Feb 19 16:09:59 2011
New Revision: 50818
URL:
http://svn.reactos.org/svn/reactos?rev=50818&view=rev
Log:
[win32k]
- Fix combobox to show the drop down window correctly when the parent window is topmost
See issue #5705 for more details.
Modified:
trunk/reactos/dll/win32/user32/controls/combo.c
Modified: trunk/reactos/dll/win32/user32/controls/combo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/controls/…
==============================================================================
--- trunk/reactos/dll/win32/user32/controls/combo.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/controls/combo.c [iso-8859-1] Sat Feb 19 16:09:59 2011
@@ -1119,7 +1119,7 @@
if( (rect.bottom + nDroppedHeight) >= mon_info.rcWork.bottom )
rect.bottom = rect.top - nDroppedHeight;
- SetWindowPos( lphc->hWndLBox, HWND_TOP, rect.left, rect.bottom,
+ SetWindowPos( lphc->hWndLBox, HWND_TOPMOST, rect.left, rect.bottom,
lphc->droppedRect.right - lphc->droppedRect.left,
nDroppedHeight,
SWP_NOACTIVATE | SWP_SHOWWINDOW);