看来我想了两天的问题好像是为你做的似的?你应该给我一点加班费才对。。。
请接招吧!
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
private
{ Private declarations }
public
procedure aa(var message:twmnclbuttondblclk); message wm_nclbuttondblclk;
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure tform1.aa(var message:twmnclbuttondblclk);
begin
if message.HitTest=htcaption then
begin
message.HitTest:=htclient;
end;
end;
end.