Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help!! GetAsyncKeyState ( How to get Mouse UP or Down )

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Private Sub Timer2_Timer()

If GetAsyncKeyState(How to get mouse up or down ???? )) Then

msgbox "Left button was pressed Right now you just released it thank you "

End If

end sub

'how to ?? ?????
 
'Oppppps sorry after posting , this question suddenly i made it up .. sorry to ask
its solved now.. here take a look -:::

Private Sub Timer2_Timer()
If Not GetAsyncKeyState(0) Then
text1.text = "Button released"
End If

If GetAsyncKeyState(vbLeftButton) Then
text1.text = "left button pushed"
End If
end sub

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top