单击鼠标按钮 [英] click mouse buttons

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

问题描述

嗨.我想创建控制鼠标移动以及鼠标左键和右键单击的鼠标应用程序.我可以移动指针,但是如何向我的应用程序发送消息以单击鼠标按钮?我正在使用MS vc#2008.
任何人都可以帮助我.

Hi. I want to create mouse application that control mouse move and the left and the right click. I can move the pointer but how can i send message to my application to click mouse buttons? I am using MS vc# 2008.
any one help me.

推荐答案

使用 ^ ]函数.

此处的示例:
http://www.gamedev.net/community/forums/topic.asp?topic_id=321029 [^ ]
Use the mouse_event[^] function.

Example here:
http://www.gamedev.net/community/forums/topic.asp?topic_id=321029[^]


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

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