Hey,
I need help with this.
I want to know what is the mouse position (x,y) and move the mouse (anywhere
in the screen) in Visual C++ 2005.
I have found a LOT of code in internet but noone works in my pc. I'm
developing a Windows Form Application.
Thanks a lot for any help...I will really appreciated.
Regards,
Marcelo.
David Lowndes - 25 Apr 2008 09:26 GMT
>I want to know what is the mouse position (x,y) and move the mouse (anywhere
>in the screen) in Visual C++ 2005.
>I have found a LOT of code in internet but noone works in my pc. I'm
>developing a Windows Form Application.
Marcelo,
I guess you're looking for the .Net equivalent of the GetCursorPos,
SetCursorPos APIs - Cursor.Position looks likely to be what you need.
Dave
marcelo - 25 Apr 2008 18:54 GMT
Thanks a lot David, I will check it out.
> >I want to know what is the mouse position (x,y) and move the mouse
> >(anywhere
[quoted text clipped - 8 lines]
>
> Dave
Tamas Demjen - 25 Apr 2008 18:32 GMT
> I want to know what is the mouse position (x,y) and move the mouse (anywhere
> in the screen) in Visual C++ 2005.
mouse_event:
http://msdn2.microsoft.com/en-us/library/ms646260.aspx
Tom
marcelo - 25 Apr 2008 18:54 GMT
thanks a lot Tamas, I will check it out...
>> I want to know what is the mouse position (x,y) and move the mouse
>> (anywhere
[quoted text clipped - 4 lines]
>
> Tom