Arsip: Trik untuk mengunci ALT+F4


by J4ckR1pp3r in Articles more 14 years ago 1746
huehuehue...ikut nyumbang dikit ah...
gw nemu trik ini pas lagi ngutak-ngatik Windows SDK :D
procedure TForm1.Button1Click(Sender: TObject);
begin
RegisterHotKey(0,IDHOT_SNAPWINDOW,MOD_ALT,VK_F4);
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
UnregisterHotKey(0,IDHOT_SNAPWINDOW);
end;
Syntax Highlighted with https://pascal-id.org/syntax

atau bisa juga :

RegisterHotKey(0,IDHOT_SNAPDESKTOP,MOD_ALT,VK_F4);

gw blom tau apa perbedaan antara SNAPDESKTOP sama SNAPWINDOW huehue....
Local Business Directory, Search Engine Submission & SEO Tools FreeWebSubmission.com SonicRun.com