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. 目录 of 2013-2014-1(内容已更新结束)

    (内容已更新结束) UML部分: ---------------1.概述2.用例图3.类图4.顺序图 MVC部分: ----------------1.概述2.路由3.控制器4.视图5.模型6.安装部 ...

  2. getopt、getopt_long和getopt_long_only

    GNU/Linux的命令行选项有两种类型:短选项和长选项,前者以 '-' 作为前导符,后者以 '--' 作为前导符.比如有一个命令: $ myprog -a vv --add -b --file a. ...

  3. sql: sql developer tunnel转接

    Use putty tunnel instead of login terminal server 有时候本地直接ping不通sql 的server, 但另一个server能连上,这时就可以把端口和i ...

  4. 凤凰OS

    看看这个http://www.phoenixos.com 是不是你想要的     --- 共有 5 条评论 --- Entity回复 @Leaybc : 今天装的凤凰os,有很多的BUG整天还不错.  ...

  5. 稳定婚姻问题和Gale-Shapley算法(转)

    什么是算法?每当有人问作者这样的问题时,他总会引用这个例子:假如你是一个媒人,有若干个单身男子登门求助,还有同样多的单身女子也前来征婚.如果你已经知道这些女孩儿在每个男孩儿心目中的排名,以及男孩儿们在 ...

  6. 列举一些常见的Python HTTP服务器

    要使 Python 写的程序能在 Web 上被访问,还需要搭建一个支持 Python 的 HTTP 服务器.下面列举一些常见的 Python HTTP 服务器,以及它们目前的大致发展情况,以便用户的对 ...

  7. 基于visual Studio2013解决面试题之1309求子集

     题目

  8. Objective-C中的SEL、IMP和Class类型

    1.SEL类型 例子: SEL say;        SEL skin; Objective-C 在编译的时候, 会根据方法的名字(包括参数序列),生成一个用 来区分这个方法的唯一的一个 ID,这个 ...

  9. Eclipse用法和技巧四:生成说明文档1

    写代码经常要添加注释的,java代码的注释也可以分为两种.单行注释以“//”作为开头就可以.段落注释在第一行开头添加“/*”,在最后一行结尾添加“*/"即可.这里介绍一种添加注释的方法,其注 ...

  10. myeclispe启动后报错 Subclipse talks to Subversion via a Java API that requires access to native libraries.

    myeclispe 中SVN插件常遇到的异常: Subclipse talks to Subversion via a Java API that requires access to native ...