set mouse position

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2005
Posts: 2
Reputation: electrocem is an unknown quantity at this point 
Solved Threads: 0
electrocem electrocem is offline Offline
Newbie Poster

set mouse position

 
0
  #1
Sep 10th, 2005
how can change mouse position ?
or how can get mouse icon over button1?
Reply With Quote Quick reply to this message  
Join Date: Sep 2005
Posts: 2
Reputation: electrocem is an unknown quantity at this point 
Solved Threads: 0
electrocem electrocem is offline Offline
Newbie Poster

Re: set mouse position

 
0
  #2
Sep 10th, 2005
Windows.Forms.Cursor.Current.Position = New System.Drawing.Point(225, 105)
Reply With Quote Quick reply to this message  
Join Date: Nov 2009
Posts: 1
Reputation: atmanning is an unknown quantity at this point 
Solved Threads: 0
atmanning atmanning is offline Offline
Newbie Poster
 
0
  #3
11 Days Ago
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
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC