Notification Message Corresponding Windows
Constant Message Description

cn_CharToItem wm_CharToItem The wm_CharToItem message is sent to the parent of a list box when a character is pressed.
cn_Command wm_Command The wm_Command message is sent when the user selects a menu item, when a control sends a notification message to its parent window, or when an accelerator keystroke is translated.
cn_CompareItem wm_CompareItem The wm_CompareItem message is sent to the parent of an owner-draw combo box or list box to determine the relative position of a new item in the sorted list.
cn_CtlColorBtn wm_CtlColorBtn The wm_CtlColorBtn message is sent to the parent window of a button when the button is about to be drawn.
cn_CtlColorDlg wm_CtlColorDlg The wm_CtlColorDlg message is sent to a dialog box before Windows draws the dialog box.
cn_CtlColorEdit wm_CtlColorEdit The wm_CtlColorEdit message is sent to the parent window of an edit field when the control is about to be drawn.
cn_CtlColorListBox wm_CtlColorListBox The wm_CtlColorListBox message is sent to the parent window of a list box when the list box is about to be drawn.
cn_CtlColorMsgBox wm_CtlColorMsgBox The wm_CtlColorMsgBox message is sent to the owner window of a message box when the message box is about to be displayed.
cn_CtlColorScrollBar wm_CtlColorScrollBar The wm_CtlColorScrollBar message is sent to the parent window of a scroll bar when the control is about to be drawn.
cn_CtlColorStatic wm_CtlColorStatic The wm_CtlColorStatic message is sent to the parent window of a static control when the control is about to be drawn.
cn_DeleteItem wm_DeleteItem The wm_DeleteItem message is sent to the parent window of a list box or combo box when each item in the list is deleted.
cn_DrawItem wm_DrawItem The wm_DrawItem message is sent to the parent window of an owner-drawn button, combo box, list box, list view, or menu when the control needs to be painted.
cn_HScroll wm_HScroll The wm_HScroll message is sent to the parent window of a horizontal scroll bar control when a scroll event occurs in the control.
cn_MeasureItem wm_MeasureItem The wm_MeasureItem message is sent to the parent window of an owner-drawn button, combo box, list box, list view control, or menu item when the control or menu is created in order to determine the control’s size.
cn_ParentNotify wm_ParentNotify The wm_ParentNotify message is sent to the parent of a control when the control is created or destroyed, or when the user clicks a mouse button while the cursor is over the control.
cn_VKeyToItem wm_VKeyToItem The wm_VKeyToItem message is sent to the parent of a list box when a key is pressed.
cn_VScroll wm_VScroll The wm_VScroll message is sent to the parent window of a vertical scroll bar control when a scroll event occurs in the control.
cn_KeyDown wm_KeyDown The wm_KeyDown message is posted to the window with the keyboard focus when a key is pressed.
cn_KeyUp wm_KeyUp The wm_KeyUp message is posted to the window with the keyboard focus when a key is released.
cn_Char wm_Char The wm_Char message is posted to the window with the keyboard focus when a wm_KeyDown message is translated by the TranslateMessage function.
cn_SysKeyDown wm_SysKeyDown The wm_SysKeyDown message is posted to the window with the keyboard focus when the user holds down the ALT key and then presses another key.
cn_SysChar wm_SysChar The wm_SysChar message is posted to the window with the keyboard focus when the user holds down the ALT key and then presses another key and releases it.
cn_Notify wm_Notify The wm_Notify message is sent to the parent window of a control when an event has occurred in the control or when the control requires some kind of information.

摘自《Developing Custom Delphi3 Components》 p347

所有CN_消息的说明的更多相关文章

  1. CN消息的来源——父窗口不知道怎么处理,于是把这个消息加上CN_BASE在分发到实际的子窗体

    VCL存在一些非API消息以供其内部使用,为什么要这样做呢?这要从WM_COMMAND & WM_NOTIFY消息说起,我们说WM_COMMAND消息并不是直接发给实际产生消息的窗体,而是发送 ...

  2. TWinControl的消息覆盖函数大全(41个WM_函数和31个CM_函数,它的WndProc就处理鼠标(转发)、键盘(取消拖动)、焦点、和WM_NCHITTEST一共4类消息)

    注意,这些函数只有Private一种形式(也就是不允许覆盖,但仍在动态表格中): 其中TWinControl对TControl有10个消息进行了覆盖(红色标记),其中有2个是WM_消息,8个是CM_消 ...

  3. Delphi对于控件的SuperClassing(封装并扩展Button,使之变成TButton)

    写博客写了这么久,但是一直不知道应该怎么样写函数之间的调用关系和执行顺序,因为不停的跳来跳去的,但是写的时候却只能顺序写调用关系,直到今天发现这种写法很不错: TButton创建窗口是在CreateW ...

  4. Messages.pas里的消息

    一.Windows 消息大全 这张表拷贝自万一兄的帖子:http://www.cnblogs.com/del/archive/2008/02/25/1079970.html 但是我希望自己能把这些消息 ...

  5. 消息队列——RabbitMQ学习笔记

    消息队列--RabbitMQ学习笔记 1. 写在前面 昨天简单学习了一个消息队列项目--RabbitMQ,今天趁热打铁,将学到的东西记录下来. 学习的资料主要是官网给出的6个基本的消息发送/接收模型, ...

  6. PHP实现RTX发送消息提醒

    RTX是腾讯公司推出的企业级即时通信平台,大多数公司都在使用它,但是我们很多时候需要将自己系统或者产品的一些通知实时推送给RTX,这就需要用到RTX的服务端SDK,建议先去看看RTX的SDK开发文档( ...

  7. 消息队列 Kafka 的基本知识及 .NET Core 客户端

    前言 最新项目中要用到消息队列来做消息的传输,之所以选着 Kafka 是因为要配合其他 java 项目中,所以就对 Kafka 了解了一下,也算是做个笔记吧. 本篇不谈论 Kafka 和其他的一些消息 ...

  8. 一步步开发自己的博客 .NET版(10、前端对话框和消息框的实现)

    关于前端对话框.消息框的优秀插件多不胜数.造轮子是为了更好的使用轮子,并不是说自己造的轮子肯定好.所以,这个博客系统基本上都是自己实现的,包括日志记录.响应式布局.评论功能等等一些本可以使用插件的.好 ...

  9. MVVM模式解析和在WPF中的实现(六) 用依赖注入的方式配置ViewModel并注册消息

    MVVM模式解析和在WPF中的实现(六) 用依赖注入的方式配置ViewModel并注册消息 系列目录: MVVM模式解析和在WPF中的实现(一)MVVM模式简介 MVVM模式解析和在WPF中的实现(二 ...

随机推荐

  1. [转]apache下htaccess不起作用,linux,windows详解

    可能出现下面这三种的错误可能性: 第一种:启用 rewrite 和 .htaccess 设置 rewrite设置:找到apache的配置文件httpd.conf文件,找到:#LoadModule re ...

  2. Gora_百度百科

    Gora_百度百科     Gora    编辑    目录         1什么是Apache Gora         2为什么要使用Apache Gora         3Gora的一个源代 ...

  3. Js脚本实现选项卡的实例

    效果演示: 具体代码: <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http:/ ...

  4. Ubuntu下ssh免password登录安装

    1.首先在本机安装openssh-server和openssh-client. 命令:sudo apt-get install openssh-server openssh-client 2.在检查当 ...

  5. 使用代码辅助生成工具CodeSmith -- 生成NHibernate的映射文件

    首先下载CodeSmith工具:在百度云中,在CodeSmith文件夹中. 安装,使用激活工具激活. 然后下载NHibernate模板,也是在百度云中,在CodeSmith文件夹中. 之后直接点击NH ...

  6. perl 函数回调 引用$client->run(sub {$client->sync});

    匿名函数引用: [root@wx03 wx]# perl a1.pl CODE(0x2077b30) test [root@wx03 wx]# cat a1.pl $ref= sub {return ...

  7. C++ 中使用boost::property_tree读取解析ini文件

    boost 官网 http://www.boost.org/ 下载页面 http://sourceforge.net/projects/boost/files/boost/1.53.0/ 我下载的是  ...

  8. bootstrap datatable项目封装支持单选多选

    自己在开发项目是根据自己的项目后台框架封装的jquery datatable插件基本上能集成到任何项目中使用,当然封装的还不够完美,给大家学习 调侃 使用介绍:query_dataTable({tab ...

  9. [整理]MongoDB 经常使用命令总结

    MongoDB 经常使用命令总结 简单的的增删改查数据 在查询结果中指定显示或者不显示某个字段 比如,我们希望在 lessons 集合中查找全部数据,可是不希望在返回结果中包括 slides 字段:由 ...

  10. Canvas上绘制几何图形

    重要的类自定义View组件要重写View组件的onDraw(Canvase)方法,接下来是在该 Canvas上绘制大量的几何图形,点.直线.弧.圆.椭圆.文字.矩形.多边形.曲线.圆角矩形,等各种形状 ...