get Numlock state

Blitz3D Forums/Blitz3D Userlibs/get Numlock state

d-bug(Posted 2005) [#1]
Is there any way to get the state of Numlock and Capslock ?
Tried to use API but failed (that's no wonder ;) )


Beaker(Posted 2005) [#2]
Look up "GetKeyState(keycode)" on the microsoft site.

I know that the Capslock keycode is 20.