Windows Hooks拦截鼠标单击? [英] Windows Hooks to intercept the mouse click?

查看:115
本文介绍了Windows Hooks拦截鼠标单击?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows挂钩拦截了鼠标单击? 我不知道如何使用钩子 另外,请提供确切的钩子以拦截鼠标单击 一件事,我想在Java应用程序中使用 所以

Windows Hooks to intercept the mouse click? I do not know that how to use hook more over please provide the exact hook to intercept the mouse click One thing ,I want to use in java application So

请提供给我正确的使用指南

please provide me a proper guide to use also

谢谢

推荐答案

这是对op的最新回应.但是我希望这可以帮助其他人.

This is a late response to the op. But I hope this could help the others.

以下库利用Windows Hook机制来实现全局键盘/鼠标侦听器.并模仿AWT事件编程经验.

The following library leverages the Windows Hook mechanism to achieve a global keyboard/mouse listener. And mimic the AWT event programming experience.

http://kra.lc/blog/2011/07 /java-global-system-hook/

这篇关于Windows Hooks拦截鼠标单击?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆