943,608 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 24239
  • VB.NET RSS
Sep 10th, 2005
0

set mouse position

Expand Post »
how can change mouse position ?
or how can get mouse icon over button1?
Similar Threads
Reputation Points: 10
Solved Threads: 0
Newbie Poster
electrocem is offline Offline
2 posts
since Sep 2005
Sep 10th, 2005
0

Re: set mouse position

Windows.Forms.Cursor.Current.Position = New System.Drawing.Point(225, 105)
Reputation Points: 10
Solved Threads: 0
Newbie Poster
electrocem is offline Offline
2 posts
since Sep 2005
Nov 12th, 2009
0
Re: set mouse position
in vb express 2008:

'declare the library function we plan to use:
Declare Function SetCursorPos& Lib "user32" (ByVal p As Point)

...

dim p as point
p.x = 100
p.y = 200
SetCursorPos p
Reputation Points: 10
Solved Threads: 0
Newbie Poster
atmanning is offline Offline
1 posts
since Nov 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: Datagridview and MS Access
Next Thread in VB.NET Forum Timeline: Open a Form from OpenFileDialog





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC