by Raghu (22 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 4th June 2001
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Code to Get the Number of Function Keys in the KeyBoard
API Declarations
Private Const KB_FUNCKEYS = 12
Dim FKey as Long
FKey = GetKeyboardType(KB_FUNCKEYS)
Msgbox "No. Of Function Keys : " + CStr(FKey),VbExclamation,"FunctionKeys"
End Sub