GetLastClick 检测上次按过的鼠标键
检测上一次按下的鼠标代码
参数1 整数型,可选:变量名

Mouse=GetLastClick() 
If Mouse =32770 Or Mouse =32769 Then 
    Msgbox "你按下了鼠标左键"
End If

GetLastClick Mouse
If Mouse =32770 Or Mouse =32769 
    Msgbox "你按下了鼠标左键"
EndIf