interface

uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs; type
TForm1 = class(TForm)
private
{ Private declarations }
protected
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
//判断消息结果是否htClient,是则将此结果改成htCaption
M.Result := htCaption;
end; end.

最新文章

  1. RunTime的简单使用
  2. safe RGB colors
  3. Windows7下出现“不支持此接口”的解决方案
  4. 【py分析网页】可能有用的-re去除网页上的杂碎
  5. 微软职位内部推荐-SDE2 (Windows driver)
  6. SPRING IN ACTION 第4版笔记-第四章ASPECT-ORIENTED SPRING-008-带参数的ADVICE
  7. 在什么情况下使用struct,struct与class的区别
  8. SecureCRT 连接虚拟机Linux
  9. WordCount项目
  10. Quartz基本使用
  11. windows安装gcc编译器
  12. pycharm import pygame 出现报错:No module named 'pygame'
  13. Spark 准备篇-基本原理
  14. 设计模式-结构型模式, mvc 模型视图控制器模式(8)
  15. App导航设计全面梳理——附免费原型模版!
  16. POJ 2387 Til the Cows Come Home 【最短路SPFA】
  17. WebSocket In ASP.NET Core(一)
  18. 第三百八十五节,Django+Xadmin打造上线标准的在线教育平台—登录功能实现,回填数据以及错误提示html
  19. WebService(JAX-WS、XFire、Axis三种)获取客户端ip
  20. 2014.1.4 cxf spring webservice

热门文章

  1. 拦截器springmvc防止表单重复提交【3】3秒后自动跳回首页【重点明白如何跳转到各自需要的页面没有实现 但是有思路】
  2. table中文字过长使用省略号
  3. js数组简单总结
  4. 每天一个linux命令:【转载】rmdir命令
  5. 使用python处理selenium中的获取文本问题
  6. 语义耦合(Semantic Coupling)
  7. NSURLSession学习笔记(三)Download Task
  8. 在iOS中使用ZBar扫描二维码
  9. js各种效果
  10. 【转】理解 pkg-config 工具