Wrox Programmer Forums
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 7th, 2007, 11:39 PM
Registered User
 
Join Date: Jun 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Mouse

Hi,

I wanted to know how to move the mouse automatically.
I mean if I enter X and Y values the mouse should move accordingly on the form.

Pl., suggest

Bye
Ravi

 
Old June 8th, 2007, 04:57 PM
Friend of Wrox
 
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

Using API functions, you can send mouse-move messages.
I believe you can also use functions in that realm to explicitly position the mouse.
If that is not accurate, at the least you can find where the mouse is, and repeatedly send mouse-move messages until it is in the right place.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Where's my mouse? Giant_robot_sandwich Javascript How-To 2 January 9th, 2007 09:22 AM
On Mouse Over teresagoh Javascript 1 February 13th, 2006 10:11 AM
mouse wheel aytacakin Pro JSP 0 November 16th, 2005 04:01 AM
mouse wheel aytacakin Javascript How-To 1 November 15th, 2005 12:10 PM
what my mouse is on? nerssi Javascript 3 August 9th, 2005 01:34 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.