procedure WMGetMinMaxInfo(var mes: TWMGetMinMaxInfo); message WM_GetMinMaxInfo;


procedure TfrmMain.WMGetMinMaxInfo(var mes: TWMGetMinMaxInfo);
var
  I: Integer;
  R: TRect;
begin
  R := Self.Monitor.WorkareaRect;
  mes.MinMaxInfo.ptMaxSize.X := R.Right - R.Left;
  mes.MinMaxInfo.ptMaxSize.Y := R.Bottom - R.Top;
  mes.Result := 0;
  inherited;
end;

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2022-01-11
  • 2021-07-22
猜你喜欢
  • 2021-05-24
  • 2022-01-03
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案