Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

API Help.

Status
Not open for further replies.

vbMax

Programmer
Jul 16, 2001
92
US
Does anyone know of an API for determining
the status of the Num Lock, Caps Lock and
Scroll Lock. Also, a method for determining
when any of these three items are changed.

Thanks.

- vbMax
 
Private Declare Function GetKeyState Lib "User32" _
(ByVal lngVirtKey As Long) As Integer

use vbKeyNumlock for Num Lock, vbKeyCapital for Caps Lock and vbKeyScrollLock for scroll lock

M :)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top