SendMessage 与Postmessage区别
2015-09-13 16:02
393 查看
SendMessage 与Postmessage有什么区别,
MSDN 是提到
The SendMessage member function calls the window procedure directly and does not return until that window procedure has processed the message. This is in contrast to the PostMessage member function, which places the message into the window's message queue and
returns immediately.
SendMessage就是同步函数,它不但发送消息到消息队列,
还需要等待消息被执行完才返回;
相反PostMessage就是个异步函数,它只管发送一个消息,而不管这个消息
相关文章推荐
- java语言连接sql server数据库(其他数据库通用)的两种方法
- linux下安装.deb和.rpm软件包的方法
- Ember.js 入门指南——handlebars条件表达式
- 黑马程序员——C语言基本运算
- shell printf命令:格式化输出语句
- Mysql group by语句的优化
- 过期候不候——也谈有限责任公司股东优先购买权行使期限
- hduoj 绝对值排序 题目2020
- C++定义的宏
- 百度UEditor基本使用
- Shell echo命令
- Java 内部类总
- Java 内部类总
- Java 内部类总
- Java 内部类总
- Oracle中varchar,varchar2,nvarchar,nvarchar2的区别
- java nio
- Create Firefox Developer .desktop file
- 基于HT for Web 快速搭建3D机房设备面板
- Leetcode #2 Add Two Numbers