开发者

how to control mouse movement in visual c++?

I am doing a project where a regular monitor could be converted into a touchscreen. For this purpose i have designed a grid of ir sensors and installed t开发者_如何学JAVAhem into a frame that could be put around the screen. That concludes the hardware.

What i want to do is control the mouse movement using the grid, so that when the user moves his/her finger inside the frame it moves the mouse on the screen. Thus giving the effect of a touchscreen. I hope I am clear in explaining my problem. I am using Windows,MS Visual C++.

If there is any suggestion other than visual C++, please let me know. Thank you.


You can use the SetCursorPos function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜