Commit e69fcc05 authored by Pascal Lessard's avatar Pascal Lessard Committed by Alexandre Julliard

COMBO_Size: maintain the height of the RectCombo when the window is

resized.
parent faa18fd9
......@@ -1104,7 +1104,13 @@ static void COMBO_Size( LPHEADCOMBO lphc )
(h == (lphc->RectEdit.bottom - lphc->RectEdit.top)) )
return;
}
//Maintain the RectCombo height
h = lphc->RectCombo.bottom - lphc->RectCombo.top;
lphc->RectCombo = rect;
lphc->RectCombo.bottom = lphc->RectCombo.top + h;
CBCalcPlacement( lphc, &lphc->RectEdit, &lphc->RectButton, &rect );
CBResetPos( lphc, &rect, TRUE );
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment