[Delphi]无边框窗口最大化不挡任务栏方法

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;
原文地址:https://www.cnblogs.com/yangyxd/p/10931160.html