VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Add a giant crosshair for your whole app

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!

Rate Add a giant crosshair for your whole app

' 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

Download this snippet    Add to My Saved Code

Add a giant crosshair for your whole app Comments

No comments have been posted about Add a giant crosshair for your whole app. Why not be the first to post a comment about Add a giant crosshair for your whole app.

Post your comment

Subject:
Message:
0/1000 characters