private
    procedure WMSYSCOMMAND(var msg:TMessage);message WM_SYSCOMMAND;
    { Private declarations }
  public
    { Public declarations }
  end;



//禁止窗体移动
procedure TSysTemCenter.WMSYSCOMMAND(var msg: TMessage);
begin 
  if msg.WParam=SC_MOVE then msg.WParam:=0;
end;

 

相关文章:

  • 2022-12-23
  • 2022-01-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-14
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-11
相关资源
相似解决方案