user_pslvj 发表于 2016-4-12 12:50:28

这段ppt代码什么意思·能否解释一下·

Private Declare Sub mouse_event Lib "user32" (ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long)
Private Const MOUSEEVENTF_LEFTDOWN = &H2
Private Const MOUSEEVENTF_LEFTUP = &H4
Sub shubiao()
mouse_event MOUSEEVENTF_LEFTDOWN Or MOUSEEVENTF_LEFTUP, 0, 0, 0, 0
DoEvents
End Sub
这个ByVal dwFlags As Long, ByVal dx As Long, ByVal dy As Long, ByVal cButtons As Long, ByVal dwExtraInfo As Long 什么意思?
user32是什么呢?
&H2和 H4又是什么
后面的四个0,代表什么····
页: [1]
查看完整版本: 这段ppt代码什么意思·能否解释一下·