View Full Version : Is there a way to switch on or off Numlock ?
AlCapone
October 13th, 2002, 12:55 PM
I would like to switch ON or OFF numlock , (not just toggle it) - is there a way to do so ?
Thanks.
AlCapone
September 7th, 2005, 04:46 AM
*bump*
Promixis
September 7th, 2005, 05:37 AM
No to my knowledge...
Is there anything on google on how to do this?
birty
September 7th, 2005, 08:37 AM
there is a win api function, give me a minute and i will dig it out
birty
September 7th, 2005, 08:44 AM
on 95/98:
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
AlCapone
September 7th, 2005, 10:22 AM
i want to set it to "on" or "off" , not simply toggle it in "brainless mode"
birty
September 7th, 2005, 10:25 AM
you wont be able to do this in girder without someone writing some c/delphi code for you
Powered by vBulletin® Version 4.1.8 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.