首页
社区
课程
招聘
[求助] PostMessage 发送 WM_NULL 是什么消息
发表于: 2008-5-28 02:47 11700

[求助] PostMessage 发送 WM_NULL 是什么消息

2008-5-28 02:47
11700
WM_NULL 这是一个什么样的消息?

是不是一个空消息?什么也不做?

这个消息的具体说明网上很少..

[课程]Android-CTF解题方法汇总!

收藏
免费 0
支持
分享
最新回复 (2)
雪    币: 200
活跃值: (10)
能力值: ( LV2,RANK:10 )
在线值:
发帖
回帖
粉丝
2
微软的文档理有解释,是用来测试一个窗口是不是在处理消息用的
2008-8-1 08:46
0
雪    币: 268
活跃值: (40)
能力值: ( LV10,RANK:170 )
在线值:
发帖
回帖
粉丝
3
The WM_NULL message performs no operation. An application sends the WM_NULL message if it wants to post a message that the recipient window will ignore.

Remarks

For example, if an application has installed a WH_GETMESSAGE hook and wants to prevent a message from being processed, the GetMsgProc callback function can change the message number to WM_NULL so the recipient will ignore it.

As another example, an application can check if a window is responding to messages by sending the WM_NULL message with the SendMessageTimeout function.
2008-8-1 10:00
0
游客
登录 | 注册 方可回帖
返回
//