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

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: