SendMessage的返回值,就是由相应的响应消息函数的返回值(解释的简洁明了)
2016-06-29 05:20
281 查看
SendMessage
Return Values
The return value specifies the result of the message processing and depends on the message sent.
这个返回值就是由相应的响应消息函数的返回值。例如:
有自定义消息:WM_USER
其响应函数:
LRESULT Cexample::OnUser(WPARAM wParam, LPARAM lParam)
{
//….
return 0;
}
则用SendMessage(hWnd, WM_USER, wParam, lParam);消息,其返回值应该为 0.
http://blog.csdn.net/kl222/article/details/947508
相关文章推荐
- Leetcode Generate Parentheses
- Win7下qt5.3.1+opencv2.4.9编译环境的搭建(好多 Opencv2.4.9源码分析的博客)
- 玉兔IM(康林的博客)
- LeetCode 368. Largest Divisible Subset
- 347. Top K Frequent Elements
- Leetcode Decode Ways
- 设计模式之外观模式
- inux man命令的使用方法(转)
- Flatten Nested List Iterator
- vs指定QT的工作目录(其它项目也是如此)
- Java中equals和==的区别
- 设计模式之适配器模式
- Retrofit攻略---一步一步的打造网络访问的航空母舰
- C#个人总结2——类和对象
- Lintcode_32 Minimum Window Substring
- statistics_level相关
- Implement Trie (Prefix Tree)
- 怎么才能有写程序的思路
- 项目-第六次全网备份上机考试
- 354. Russian Doll Envelopes