Console: Mouse Movements

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top