
C#中使用消息提高编程效率
C#中使用消息提高编程效率2007-09-271 定义消息 在c#中消息需要定义成windows系统中的原始的16进制数字,比如 const int WM_Lbutton = 0x201; //定义了鼠标的左键点击消息 public const int USER = 0x0400 // 是windows系统定义的用户消息 2 消息发送 消息发送是通过windows提供的API函数SendMessage来实现的它的原型定义为 [DllImport(&q...