Как програмно переключить состояние клавиш Num
Lock, Caps Lock, Scroll Lock
VAR
KS: TKeyboardState;
begin
GetKeyboardState(KS);
KS[020] := KS[020] XOR 1; //Caps Lock
KS[144] := KS[144] XOR 1; //Num Lock
KS[145] := KS[145] XOR 1; //Scroll Lock
SetKeyboardState(KS);
end;
|
|
//include "/ssi/right_banner.html"; ?>
|