Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/delphidicas.com.br/httpdocs/index.php on line 166 Dicas de Delphi |
procedure CapsLock(State: boolean); begin if (State and ((GetKeyState(VK_CAPITAL) and 1) = 0)) or
((not State) and ((GetKeyState(VK_CAPITAL) and 1) = 1)) then begin
keybd_event(VK_CAPITAL, $45, KEYEVENTF_EXTENDEDKEY or 0, 0);
keybd_event(VK_CAPITAL, $45, KEYEVENTF_EXTENDEDKEY or KEYEVENTF_KEYUP, 0); end; end;