System.Windows.Forms中的Message Structure
2015-09-07 11:14
423 查看
结构用途说明Implements a Windows message.
Properties
1.public IntPtr HWnd { get; set; }
Gets or sets the window handle of the message.
System.IntPtr A platform-specific type that is used to represent a pointer or a handle.
2.public IntPtr LParam { get; set; }
Specifies the LParam field of the message.
ReMarks:
The value of this field depends on the message. Use the LParam field to get information that is important for handling the message.
LParam is typically used to store an object if it is needed by the message. Use the GetLParam method to retrieve and convert information from the LParam field into an object.
此属性通常用来存储消息所需要的一个对象,使用GetLParam方法从LParam检索并转换信息到一个对象
3.public int Msg { get; set; }
Gets or sets the ID number for the message.
4.public IntPtr Result { get; set; }
Specifies the value that is returned to Windows in response to handling the message.
5.public IntPtr WParam { get; set; }
Gets or sets the WParam field of the message.
ReMarks:
The value of this field depends on the message. Use the WParam field to get information that is important to handling the message.
This field is typically used to store small pieces of information, such as flags.
此属性通常用来存放小块的信息,例如标志位
Properties
1.public IntPtr HWnd { get; set; }
Gets or sets the window handle of the message.
System.IntPtr A platform-specific type that is used to represent a pointer or a handle.
2.public IntPtr LParam { get; set; }
Specifies the LParam field of the message.
ReMarks:
The value of this field depends on the message. Use the LParam field to get information that is important for handling the message.
LParam is typically used to store an object if it is needed by the message. Use the GetLParam method to retrieve and convert information from the LParam field into an object.
此属性通常用来存储消息所需要的一个对象,使用GetLParam方法从LParam检索并转换信息到一个对象
3.public int Msg { get; set; }
Gets or sets the ID number for the message.
4.public IntPtr Result { get; set; }
Specifies the value that is returned to Windows in response to handling the message.
5.public IntPtr WParam { get; set; }
Gets or sets the WParam field of the message.
ReMarks:
The value of this field depends on the message. Use the WParam field to get information that is important to handling the message.
This field is typically used to store small pieces of information, such as flags.
此属性通常用来存放小块的信息,例如标志位
相关文章推荐
- 操作系统性能监控-磁盘IO
- c语言字符数组与字符串的使用详解
- 禁用backspace网页回退功能
- vs2012 遇到 First_Chance Exception 的问题
- 静态注册的广播每次接收广播都会重新生成一个接收广播的对象
- 终于暂时解决了actionbar溢出菜单显示图标的问题
- MSSql Server基础学习系列———数据删除
- Android weight权重适配
- ashx入门
- centos 64位linux系统下安装appt(只有32位)命令的apktool工具包的笔记
- hadoop学习之hadoop完全分布式集群安装
- 使用MVC4 WebAPI 安装 helpPage
- POJ 2196 Specialized Four-Digit Numbers
- C++中export关键字的尴尬处境
- 适合于图像处理方向的SCI期刊杂志列表
- 从“增信”到“征信”:互联网金融时代的中国个人征信体系发展
- angular 搜索记录保留
- ERROR
- MUI - sortable在mui.js前端框架不兼容的解决方案
- 网络安全论坛一览