L
lxxiaoxiao
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.Timer1Timer(Sender: TObject);
var ks:tkeyboardstate;
begin
getkeyboardstate(ks);
if odd(ks[VK_CAPITAL]) then
begin
ShowMessage(' 大写锁定键已经打开!');
end
end;
end.
var ks:tkeyboardstate;
begin
getkeyboardstate(ks);
if odd(ks[VK_CAPITAL]) then
begin
ShowMessage(' 大写锁定键已经打开!');
end
end;
end.