by Joshua Conklin (3 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (3 Votes)
Does what the title says, adds a big crosshair that follows your mouse in your whole application, dig it!
' Add a line named Line1 , verticlly up and down
' through the center of your form
' Now add another line named Line2 ,
' horozontally accross the whole form
' if you dont understand look at the screenshot
' then just copy and paste this code
Private Sub Form_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Line1.X1 = X
Line1.X2 = X
Line2.Y1 = Y
Line2.Y2 = Y
End Sub