PC Review


Reply
Thread Tools Rate Thread

Console: Mouse Movements

 
 
Shawn B.
Guest
Posts: n/a
 
      20th Nov 2005
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


 
Reply With Quote
 
 
 
 
Allen St.Clair
Guest
Posts: n/a
 
      20th Nov 2005
I have no idea but a suggestion.
Try INK SDK...


"Shawn B." <(E-Mail Removed)> wrote in message
news:u8Po$(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
=?Utf-8?B?U2Vhbg==?=
Guest
Posts: n/a
 
      20th Nov 2005
I am not sure if the mouse events work the same in console as they do in
forms but here is some info on mouse events in forms.

http://msdn.microsoft.com/library/de...deltatopic.asp

So if this answer covers what you already knew.

"Shawn B." wrote:

> 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
>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse Movements Mary Windows XP Embedded 5 25th Sep 2005 12:11 AM
erratic mouse movements Windows XP Basics 6 25th Mar 2005 02:09 AM
erratic mouse movements =?Utf-8?B?c2hhaQ==?= Windows XP General 4 20th Aug 2004 02:06 PM
Bizzare Mouse Movements Ann Marinas Microsoft C# .NET 2 22nd Jan 2004 07:25 AM
Simulating mouse movements bwahahahaha Microsoft C# .NET 6 15th Oct 2003 05:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:55 AM.