Technology Learning

导航

移动无标题栏窗口

  procedure WMNChitTest(var Msg:TWMNChitTest);message WM_NCHITTEST;

 

 

procedure TForm13.WMNChitTest(var Msg:TWMNChitTest);
begin
inherited;

if Msg.Result=htClient then//将客户区消息转换成拖动标题时产生的消息
  Msg.Result:=htCaption;

end;

 

posted on 2010-03-29 23:01  浔阳渔夫  阅读(151)  评论(0编辑  收藏  举报