Console: Mouse Movements

  • Thread starter Thread starter Shawn B.
  • Start date Start date
S

Shawn B.

Greetings,

Is there a way to use the mouse in a console application? ... such as
detecting what row/col a mouse was clicked, whether the left middle or right
mouse button and whether the mouse button is down while a mouse moves?
There doesn't appear to be any built-in capabilities in C#, but I was
wondering if there is a way to do so via p-invoke. In any case, I've google
for quite some time and it appears to be hard to find any direct
information. I see references to people specifying mouse input via the
console, but I don't see a concrete use of someone actually using the mouse
with the console.


Thanks,
Shawn

http://www.zenofdotnet.com
 
Back
Top