Making cursor a crosshair

BrettW

Freshman
Joined
Nov 12, 2009
Messages
35
Hi, I am making a game (a shooting game)
i want the mouse to be a crosshair.
I have tried making the picturebox follow the mouse like this:

Code:
Private Sub Form1_MouseMove(ByVal sender As Object, ByVal e As System.Windows.Forms.MouseEventArgs) Handles Me.MouseMove
        PictureBox1.Location = MousePosition
    End Sub

but the crosshair does not follow the mouse exactly (the crosshair is about 4cm away from cursor???) :confused: :confused: :confused:
Anyone got any Ideas?
 
Last edited:
Do you need a particularly specific graphic? Windows includes a crosshair cursor by default, which you could specify as the contianing control's cursor.


someControl.Cursor = Cursors.Cross;
 
Back
Top