R
redted2
Unregistered / Unconfirmed
GUEST, unregistred user!
private
{ Private declarations }
procedure WMNCHitTest(var M:TWMNCHitTest);Message wm_NCHitTest;
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.WMNCHitTest(var M:TWMNCHitTest);
begin
inherited;
if M.Result=htClient then
M.Result:=htCaption;
end;
{ Private declarations }
procedure WMNCHitTest(var M:TWMNCHitTest);Message wm_NCHitTest;
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.WMNCHitTest(var M:TWMNCHitTest);
begin
inherited;
if M.Result=htClient then
M.Result:=htCaption;
end;