Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls;
type
  TForm2 
= class(TForm)
    Button1: TButton;
        
procedure aa(var msg:twmnchittest);message wm_nchittest;  //消息处理过程序声明
  
private
    
{ Private declarations }
  
public
    
{ Public declarations }
  
end;
var
  Form2: TForm2;
implementation
{$R *.dfm}
    
procedure tform2.aa(var msg:twmnchittest);
    
begin
      
inherited;
      defaulthandler(msg);
      
if msg.Result=htclient then
        msg.Result:
=htcaption;
    
end;
end.

相关文章:

  • 2021-05-26
  • 2021-09-19
  • 2021-07-12
  • 2022-12-23
  • 2022-12-23
  • 2021-11-15
  • 2021-09-28
猜你喜欢
  • 2022-12-23
  • 2021-06-14
  • 2021-11-01
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案