这个该死的问题,困绕了我好几天,终于千试万试,试出来了一种方法。

procedure TExplorer.WMMax(var Msg: TWMGetMinMaxInfo); message WM_GETMINMAXINFO;
begin
   //什么都不用写。
end;

procedure TExplorer_Frm.WmSize(var msg: TWMSIZE);
begin
  if msg.SizeType = SIZE_MAXIMIZED then
    msg.SizeType := SIZENORMAL;
  inherited;
end;

这就是我们想要的。

相关文章:

  • 2022-02-27
  • 2022-12-23
  • 2022-12-23
  • 2021-08-19
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
猜你喜欢
  • 2022-12-23
  • 2021-10-03
  • 2022-12-23
  • 2021-06-25
相关资源
相似解决方案