마우스 이벤트 미완성
*
Public Class Form1
Public Declare Sub mouse_event Lib "user32" Alias "mouse_event" (ByVal dwflags As Long)
'leftdown = &h2
'leftup = &h4
'lightdown = &h8
'lightup = &h10
'NIDDLEUP = &H40
'NIDDLEDOWN = &H20

Private Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Me.Cursor = New Cursor(Cursor.Current.Handle)
Cursor.Position = New Point(100, 100)

mouse_event(&H2)
Cursor.Position = New Point(200, 200)
mouse_event(&H4)

End Sub
End Class

이 게시물을

댓글'1'
네크
  • 2014.05.30
  • 수정: 2014.05.30 08:29:31

이 댓글을

공유하기

SEARCH

MENU NAVIGATION