October 13th, 2002, 03:55 PM
Is there a way to switch on or off Numlock ?
I would like to switch ON or OFF numlock , (not just toggle it) - is there a way to do so ?
September 7th, 2005, 07:46 AM
September 7th, 2005, 08:37 AM
No to my knowledge...
Is there anything on google on how to do this?
September 7th, 2005, 11:37 AM
there is a win api function, give me a minute and i will dig it out
September 7th, 2005, 11:44 AM
you need to use "getkeyboardstate" to get the current keyboard state array and then set the element VK_NUMLOCK to
on nt/2000/xp you can simply simulate the numlock key press
see for example delphi code
September 7th, 2005, 01:22 PM
i want to set it to "on" or "off" , not simply toggle it in "brainless mode"
September 7th, 2005, 01:25 PM
you wont be able to do this in girder without someone writing some c/delphi code for you