所有CN_消息的说明
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_消息的说明的更多相关文章
- CN消息的来源——父窗口不知道怎么处理,于是把这个消息加上CN_BASE在分发到实际的子窗体
VCL存在一些非API消息以供其内部使用,为什么要这样做呢?这要从WM_COMMAND & WM_NOTIFY消息说起,我们说WM_COMMAND消息并不是直接发给实际产生消息的窗体,而是发送 ...
- TWinControl的消息覆盖函数大全(41个WM_函数和31个CM_函数,它的WndProc就处理鼠标(转发)、键盘(取消拖动)、焦点、和WM_NCHITTEST一共4类消息)
注意,这些函数只有Private一种形式(也就是不允许覆盖,但仍在动态表格中): 其中TWinControl对TControl有10个消息进行了覆盖(红色标记),其中有2个是WM_消息,8个是CM_消 ...
- Delphi对于控件的SuperClassing(封装并扩展Button,使之变成TButton)
写博客写了这么久,但是一直不知道应该怎么样写函数之间的调用关系和执行顺序,因为不停的跳来跳去的,但是写的时候却只能顺序写调用关系,直到今天发现这种写法很不错: TButton创建窗口是在CreateW ...
- Messages.pas里的消息
一.Windows 消息大全 这张表拷贝自万一兄的帖子:http://www.cnblogs.com/del/archive/2008/02/25/1079970.html 但是我希望自己能把这些消息 ...
- 消息队列——RabbitMQ学习笔记
消息队列--RabbitMQ学习笔记 1. 写在前面 昨天简单学习了一个消息队列项目--RabbitMQ,今天趁热打铁,将学到的东西记录下来. 学习的资料主要是官网给出的6个基本的消息发送/接收模型, ...
- PHP实现RTX发送消息提醒
RTX是腾讯公司推出的企业级即时通信平台,大多数公司都在使用它,但是我们很多时候需要将自己系统或者产品的一些通知实时推送给RTX,这就需要用到RTX的服务端SDK,建议先去看看RTX的SDK开发文档( ...
- 消息队列 Kafka 的基本知识及 .NET Core 客户端
前言 最新项目中要用到消息队列来做消息的传输,之所以选着 Kafka 是因为要配合其他 java 项目中,所以就对 Kafka 了解了一下,也算是做个笔记吧. 本篇不谈论 Kafka 和其他的一些消息 ...
- 一步步开发自己的博客 .NET版(10、前端对话框和消息框的实现)
关于前端对话框.消息框的优秀插件多不胜数.造轮子是为了更好的使用轮子,并不是说自己造的轮子肯定好.所以,这个博客系统基本上都是自己实现的,包括日志记录.响应式布局.评论功能等等一些本可以使用插件的.好 ...
- MVVM模式解析和在WPF中的实现(六) 用依赖注入的方式配置ViewModel并注册消息
MVVM模式解析和在WPF中的实现(六) 用依赖注入的方式配置ViewModel并注册消息 系列目录: MVVM模式解析和在WPF中的实现(一)MVVM模式简介 MVVM模式解析和在WPF中的实现(二 ...
随机推荐
- BZOJ 3039: 玉蟾宫( 悬线法 )
最大子矩阵...悬线法..时间复杂度O(nm) 悬线法就是记录一个H向上延伸的最大长度(悬线), L, R向左向右延伸的最大长度, 然后通过递推来得到. ----------------------- ...
- Python中的循环与跳出
--start-- for循环: for i in range(3): user_input = input("Your username:") passwd = int(inpu ...
- 【译】在Asp.Net中操作PDF – iTextSharp - 使用链接和书签
原文 [译]在Asp.Net中操作PDF – iTextSharp - 使用链接和书签 用户和PDF文档的交互可以通过锚(链接)和书签进行,接着我前面iTextSharp的系列文章,本篇文章主要讲通过 ...
- Jquery学习笔记:利用find和children方法获取后代元素
在很多场景下,需要根据一个已知的jquery对象,去查找其满足条件的后代节点. 这时可以利用 find函数和children来处理. find和children函数都可有一个参数,常见的是一个字符串, ...
- cocos2d-x游戏开发系列教程-中国象棋02-main函数和欢迎页面
之前两个博客讲述了象棋的规格和工程文件之后,我们继续深入的从代码开始学习cocos2dx 首先从程序入口main函数开始 main函数 int APIENTRY _tWinMain(HINSTANCE ...
- OFBIZ分享:利用Nginx +Memcached架设高性能的服务
近年来利用Nginx和Memcached来提高站点的服务性能的作法,如一夜春风般的遍及大江南北,越来越多的门户站点和电子商务平台都採用它们来为自己的用户提供更好的服务体验.如:网易.淘宝.京东.凡客等 ...
- mysql 初识之日志文件篇
日志文件 1. err日志 error log 记录mysql在运行的过程中所有较为严重的警告和错误信息,以及mysql server每次启动和关闭的详细信息.系统在默认情况下关闭error ...
- SAP超时问题
其他常用的参数如下: login/system_client 登录时默认的Client号 login/password_expiration_time 密码有效期 login/fails_to_use ...
- POJ 2286 The Rotation Game 迭代搜索深度 + A* == IDA*
感觉这样的算法还是比較局限的吧,反复搜索是一个不好的地方,并且须要高效的估值函数来进行强剪枝,这点比較困难. 迭代搜索深度是一个比較炫酷的搜索方式,只是有点拿时间换空间的感觉. 首先迭代深度比較搓的写 ...
- 6.MIL采集和实时显示
前面讲到的都是离线的图像获取方法,实际中我们做机器视觉都是在线采集图像和处理,处理结果决定了计算机要给出的控制信号如电机运动等,这样就实现了实时视觉反馈运动.MIL中的采集需要Matrox采集板卡的支 ...