fixed combobox height from Micha

git-svn-id: trunk@4463 -
This commit is contained in:
mattias 2003-08-11 18:10:41 +00:00
parent 671a98ae74
commit 2cb5dbe9de

View File

@ -502,6 +502,8 @@ Begin
End; End;
WM_SIZE: WM_SIZE:
Begin Begin
if not (OwnerObject is TCustomComboBox) then
begin
With TLMSize(LMessage) Do With TLMSize(LMessage) Do
Begin Begin
Msg := LM_SIZE; Msg := LM_SIZE;
@ -516,6 +518,7 @@ Begin
if (Windows.GetWindowLong(Window, GWL_STYLE) and WS_HSCROLL) <> 0 then if (Windows.GetWindowLong(Window, GWL_STYLE) and WS_HSCROLL) <> 0 then
Height := Height - GetSystemMetrics(SM_CYHSCROLL); Height := Height - GetSystemMetrics(SM_CYHSCROLL);
End; End;
end;
End; End;
WM_SYSKEYDOWN: WM_SYSKEYDOWN:
Begin Begin
@ -638,6 +641,9 @@ end;
{ {
$Log$ $Log$
Revision 1.47 2003/08/11 18:10:41 mattias
fixed combobox height from Micha
Revision 1.46 2003/08/09 16:30:33 mattias Revision 1.46 2003/08/09 16:30:33 mattias
fixed LM_ShowModal for win32 intf from Karl fixed LM_ShowModal for win32 intf from Karl