VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

A Very Fast and Very Easy way to get your Cursor Position !! Good for making banner clicking progra

Psygnosis (Psygnosis Programming)  (1 Submission)   Windows System Services   VB 6.0   Unknown Difficulty   Thu 13th July 2000   Mon 8th February 2021

A Very Fast and Very Easy way to get your Cursor Position !! Good for making banner clicking programs, And you need the exact X and Y cor.

API Declarations


'If you use this please give me props (I know you won't but I figure I would ask)
' E-Mail [email protected]

'First you must make a new Form
'Create TWO Text Boxes
'make ONE Timer
'And thats it
'Everything should work

Public Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
Public Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long


Public Type POINTAPI
x As Long
y As Long
End Type

Public Function GetX() As Long
Dim n As POINTAPI
GetCursorPos n
GetX = n.x
End Function

Public Function GetY() As Long
Dim n As POINTAPI
GetCursorPos n
GetY = n.y
End Function

Rate A Very Fast and Very Easy way to get your Cursor Position !! Good for making banner clicking progra (2(2 Vote))
A Very Fast and Very Easy way to get your Cursor Position !! Good for making banner clicking progra.bas

A Very Fast and Very Easy way to get your Cursor Position !! Good for making banner clicking progra Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters