mirror of
https://github.com/reactos/reactos.git
synced 2024-10-15 05:37:44 +00:00
[win32k]
- Fix combobox to show the drop down window correctly when the parent window is topmost See issue #5705 for more details. svn path=/trunk/; revision=50818
This commit is contained in:
parent
2352ea6662
commit
4638bf943c
|
@ -1119,7 +1119,7 @@ static void CBDropDown( LPHEADCOMBO lphc )
|
||||||
if( (rect.bottom + nDroppedHeight) >= mon_info.rcWork.bottom )
|
if( (rect.bottom + nDroppedHeight) >= mon_info.rcWork.bottom )
|
||||||
rect.bottom = rect.top - nDroppedHeight;
|
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,
|
lphc->droppedRect.right - lphc->droppedRect.left,
|
||||||
nDroppedHeight,
|
nDroppedHeight,
|
||||||
SWP_NOACTIVATE | SWP_SHOWWINDOW);
|
SWP_NOACTIVATE | SWP_SHOWWINDOW);
|
||||||
|
|
Loading…
Reference in a new issue