SendInput函数与keybd_event函数是将案件事件放在哪个消息队列里了?

chj_2003 2011-11-27 10:56:48
SendInput函数与keybd_event函数是将案件事件放在哪个消息队列里了?

是线程消息队列还是系统消息队列。

是不是只有调用这两个函数的进程才能获取他们插入的消息?

系统消息队列可不可以由应用程序自动插入消息?
...全文
122 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
Eleven 2011-11-29
  • 打赏
  • 举报
回复
http://blog.csdn.net/visualeleven/article/details/6892386
chj_2003 2011-11-29
  • 打赏
  • 举报
回复
谢谢,确实能行。只是我现在还不能控制大小写,我自己再琢磨琢磨
shen_wei 2011-11-29
  • 打赏
  • 举报
回复
The SendInput function inserts the events in the INPUT structures serially into the keyboard or mouse input stream. These events are not interspersed with other keyboard or mouse input events inserted either by the user (with the keyboard or mouse) or by calls to keybd_event, mouse_event, or other calls to SendInput.

键盘鼠标事件都是系统事件。。WM_KEYDOWN,WM_KEYUP 等等这些系统事件
chj_2003 2011-11-29
  • 打赏
  • 举报
回复
没人理我,自己顶

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧