Click here to Skip to main content
15,892,161 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am more of a c# hacker than coder, and I need some help on generating some code in C# to determine how many mice are plugged in to the PC and when which one has been clicked.

I want to hide the cursors.

I do not want to be using WPF and the MultiPoint Mouse SDK :) Thanks,


John
Posted
Updated 18-Apr-15 21:32pm
v2
Comments
Sascha Lefèvre 18-Apr-15 18:46pm    
I have no experience with that, but maybe you can get some ideas from this article, which handles a (probably) similar problem:
http://www.codeproject.com/Articles/17123/Using-Raw-Input-from-C-to-handle-multiple-keyboard
Kornfeld Eliyahu Peter 19-Apr-15 3:54am    
C# has no built-in classes/methods to handle such thing, not even simple Windows API can do that, however Microsoft has a MultiPoint SDK that used in educational environment - you may use it too: https://msdn.microsoft.com/en-us/library/windows/desktop/ee906605.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900