By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,683 Members | 1,387 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,683 IT Pros & Developers. It's quick & easy.

how to steer a cursor ?

P: n/a
Hello
How to change a position of mouse pointer in VB.net ? I
would like to change his position by pressing arrow keys.
Jarod
Nov 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi Jarod,

Have a look at the Cursor class and its Position property.

Regards,
Fergus
Nov 20 '05 #2

P: n/a
"Jarod" <bl*****@gazeta.pl> schrieb
Hello
How to change a position of mouse pointer in VB.net ? I
would like to change his position by pressing arrow keys.
Jarod


Have a look at the events Keydown, Keyup, Keypress. To move the cursor:
Cursor.Position = New Point(100, 100)
--
Armin

Nov 20 '05 #3

P: n/a
* "Jarod" <bl*****@gazeta.pl> scripsit:
How to change a position of mouse pointer in VB.net ? I
would like to change his position by pressing arrow keys.


Set the 'Cursor.Position' property.

--
Herfried K. Wagner
MVP VB Classic, VB.NET
<http://www.mvps.org/dotnet>
Nov 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.