Ignore:
Timestamp:
May 23, 2020, 12:45:14 AM (4 years ago)
Author:
chronos
Message:
  • Fixed: Scrolling under HighDPI. ScrollDC needs to be scaled as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/highdpi/LocalPlayer/Select.pas

    r246 r252  
    5959    function RenameCity(cix: integer): boolean;
    6060    function RenameModel(mix: integer): boolean;
    61     procedure OnScroll(var m: TMessage); message WM_VSCROLL;
     61    procedure OnScroll(var Msg: TMessage); message WM_VSCROLL;
    6262    procedure OnMouseLeave(var Msg: TMessage); message CM_MOUSELEAVE;
    6363  public
     
    133133end;
    134134
    135 procedure TListDlg.OnScroll(var m: TMessage);
     135procedure TListDlg.OnScroll(var Msg: TMessage);
    136136begin
    137137  { TODO: Handled by MouseWheel event
    138   if sb.Process(m) then  begin
     138  if sb.Process(Msg) then  begin
    139139    Sel := -2;
    140140    SmartUpdateContent(true);
Note: See TracChangeset for help on using the changeset viewer.