推荐星级:
- 1
- 2
- 3
- 4
- 5
消息的分类
资料介绍
消息的分类
标准消息
除WM_COMMAND之外,所有以WM_开头的消息。
从CWnd派生的类,都可以接收到这类消息。
命令消息
来自菜单、加速键或工具栏按钮的消息。这类消息都以WM_COMMAND呈现。在MFC中,通过菜单项的标识(ID)来区分不同的命令消息;在SDK中,通过消息的wParam参数识别。
从CCmdTarget派生的类,都可以接收到这类消息。
通告消息
由控件产生的消息,例如,按钮的单击,列表框的选择等均产生此类消息,为的是向其父窗口(通常是对话框)通知事件的发生。这类消息也是以WM_COMMAND形式呈现。
从CCmdTarget派生的类,都可以接收到这类消息。
部分文件列表
文件名 | 文件大小 | 修改时间 |
消息的分类/Lesson5Code/Text/MainFrm.cpp | 2KB | 2005-03-19 09:39:12 |
消息的分类/Lesson5Code/Text/MainFrm.h | 2KB | 2005-03-19 09:39:12 |
消息的分类/Lesson5Code/Text/ReadMe.txt | 4KB | 2005-03-19 09:39:12 |
消息的分类/Lesson5Code/Text/res/bitmap1.bmp | 1KB | 2005-03-19 09:39:12 |
消息的分类/Lesson5Code/Text/res/Text.ico | 1KB | 2005-03-19 09:39:12 |
消息的分类/Lesson5Code/Text/res/Text.rc2 | 1KB | 2005-03-19 09:39:12 |
消息的分类/Lesson5Code/Text/res/TextDoc.ico | 1KB | 2005-03-19 09:39:12 |
消息的分类/Lesson5Code/Text/res/Toolbar.bmp | 1KB | 2005-03-19 09:39:12 |
消息的分类/Lesson5Code/Text/resource.h | 1KB | 2005-03-19 09:39:12 |
消息的分类/Lesson5Code/Text/StdAfx.cpp | 1KB | 2005-03-19 09:39:12 |
消息的分类/Lesson5Code/Text/StdAfx.h | 1KB | 2005-03-19 09:39:12 |
... |
全部评论(0)