Arsip: Toggle Key Monitoring


by delphi in Articles more 20 years ago 2373
Fungsi sederhana yang digunakan untuk memperoleh toggle-status dari suatu tombol di keyboard.
Misal; kamu tekan sembarang tombol (VK_NUMLOCK, VK_INSERT dll), maka fungsi akan memberikan hasil boolean on atau off.
function GetToggleState(Key: integer): boolean;
begin
Result := Odd(GetKeyState(Key));
end

AI Forward

๐Ÿš€ We're thrilled to partner with Alibaba Cloud for "AI Forward - Alibaba Cloud Global Developer Summit 2025" in Jakarta! Join us and explore the future of AI. Register now: https://int.alibabacloud.com/m/1000400772/
#AlibabaCloud #DeveloperSummit #Jakarta #AIFORWARD

Local Business Directory, Search Engine Submission & SEO Tools FreeWebSubmission.com SonicRun.com