VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Add a pair of crosshairs that folows your mouse round the screen

by Robin Hickmott (5 Submissions)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Fri 14th January 2000
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Add a pair of crosshairs that folows your mouse round the screen

Rate Add a pair of crosshairs that folows your mouse round the screen



'ADD A SECOND LINE TO YOUR FORM RUNNING THE HORIZONTAL WIDTH OF THE FORM

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 pair of crosshairs that folows your mouse round the screen Comments

No comments have been posted about Add a pair of crosshairs that folows your mouse round the screen. Why not be the first to post a comment about Add a pair of crosshairs that folows your mouse round the screen.

Post your comment

Subject:
Message:
0/1000 characters