devxlogo

GetNumLockKey – Get the state of the NumLock key

GetNumLockKey – Get the state of the NumLock key

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

devx-admin

Share the Post: