VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Code to Get the Number of Function Keys in the KeyBoard

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

Rate Code to Get the Number of Function Keys in the KeyBoard



Dim FKey as Long

FKey = GetKeyboardType(KB_FUNCKEYS)
Msgbox "No. Of Function Keys : " + CStr(FKey),VbExclamation,"FunctionKeys"

End Sub

Download this snippet    Add to My Saved Code

Code to Get the Number of Function Keys in the KeyBoard Comments

No comments have been posted about Code to Get the Number of Function Keys in the KeyBoard. Why not be the first to post a comment about Code to Get the Number of Function Keys in the KeyBoard.

Post your comment

Subject:
Message:
0/1000 characters