Código
var
I:Integer;
begin
case YesNo of
True:
begin
UnRegisterHotKey(0, I);
end;
False:
begin
I := GlobalAddAtom('Hotkey1');
RegisterHotKey(0, I, MOD_ALT, VK_TAB);
end;
end;
end;
//usando
EnableAltTab(True); //Enable
EnableAltTab(False); //Desable
Planeta Delphi - www.planetadelphi.com.br - Todos os direitos reservados | Copyright 2001-2009