VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Check whether mouse is installed or not using GetSystemMetrics API

by Karthikeyan (187 Submissions)
Category: Windows API Call/Explanation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Thu 1st November 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Check whether mouse is installed or not using GetSystemMetrics API

Rate Check whether mouse is installed or not using GetSystemMetrics API



Dim x As Long
x = GetSystemMetrics(19)
If x Then
MsgBox "Mouse is installed"
Else
MsgBox "Mouse is not installed"
End If
End
End Sub


Download this snippet    Add to My Saved Code

Check whether mouse is installed or not using GetSystemMetrics API Comments

No comments have been posted about Check whether mouse is installed or not using GetSystemMetrics API. Why not be the first to post a comment about Check whether mouse is installed or not using GetSystemMetrics API.

Post your comment

Subject:
Message:
0/1000 characters