Results 1 to 3 of 3

Thread: Animation

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    240
    I want to make a program that uses the cross mouse pointer and when i click on the form in runtime a spot appears on the form...as to simulate a bullet going through the form.
    is this possible??? with out a lot of work??
    thanks

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    This may not be as wonderful as you want it to be but it should be a good starting point;

    In the form's Load event;

    Code:
    Private Sub Form_Load()
    Me.MousePointer = vbCrosshair
    Me.DrawWidth = 10
    End Sub
    In the form's MouseDown event;

    Code:
    Private Sub Form_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
    Me.PSet (X, Y)
    End Sub
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    240

    Talking Thank you!

    Thanks that did what i wanted!! :0)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width