devxlogo

GetCapsLockKey – Get the state of the CapsLock key

GetCapsLockKey – Get the state of the CapsLock key

Private Declare Function GetKeyState Lib "user32" (ByVal nVirtKey As Long) As _    Long' Get the current state of the CapsLock keyFunction GetCapsLockKey() As Boolean    GetCapsLockKey = GetKeyState(vbKeyCapital)End Function

devx-admin

Share the Post: