private
procedure wmnchittest(var msg:twmnchittest);
message wm_nchittest;procedure TForm1.wmnchittest(var msg:twmnchittest);
begin
inherited;
if (htclient=msg.result) then msg.result:=htcaption;
end;
procedure wmnchittest(var msg:twmnchittest);
message wm_nchittest;procedure TForm1.wmnchittest(var msg:twmnchittest);
begin
inherited;
if (htclient=msg.result) then msg.result:=htcaption;
end;
解决方案 »
- TEECHART 重画线和标注的问题,进来看图求解!
- 一个超低级问题,帮忙啊!
- 如何把array [] of char 类型的字符组转换为string类型字符串?
- 关于Windows Media Player控件问题
- 怎样把BDE数据库移到没有delphi的机子上
- 一道面试题 :请教delphi 中的多层(架构不是数据)连接方式及各有好处与不足??
- 请大家帮帮忙---高分相送
- 请教在DELPHI中如何调用XP自带的传真用来发送和接收传真
- 请问TQuery的SQL支持substring(str,n,n)吗?
- 無效的對象名
- 谁知道哪有indy组件的文章和例子阿,谢谢
- 请问什么是image文件,和一个压缩文件夹有什么不同?打开后在copy到软盘上与直接写有什么区别?
procedure TForm1.wmnchittest(var msg:twmnchittest);
var
Point :TPoint ;
begin
inherited ;
Point.X := Msg.XPos ;
Point.Y := Msg.YPos ;
Windows.Screentoclient(Handle ,Point) ;
if (htclient = msg.result)
and (Point.Y in [0..20]) then
msg.Result := htcaption ;
end ;