如何实现鼠标HOOK?

JackieChengII 2003-02-22 01:31:37
最好有代码.谢谢.
...全文
41 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
hwndhwnd 2003-02-22
  • 打赏
  • 举报
回复
还是c#调用win32 api的基本原理与钩子的具体实践相结合啊。
TheAres 2003-02-22
  • 打赏
  • 举报
回复
参考MSDN中的这篇文章,有代码下载.
This article describes how to set a hook that is specific to a thread and to a hook procedure by using the mouse hook as an example. You can use hooks to monitor certain types of events. You can associate these events with a specific thread or with all of the threads in the same desktop as a calling thread.

http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q318804

110,539

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

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