Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Desabilitar o ctrl+alt+del
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00861990
Message ID:
00862019
Vues:
24
>olá Pessoal
>Alguem conhece alguma função para desabilitar o ctrl+alt+del e as teclas alt+(qq tecla) e sift+(qq tecla)
>Se funcionar no win2000 e Win XP, aí fica bonito...
Olá Alvaro;

Checando se alt, shift ou control foram apertadas..
#define VK_SHIFT          0x10
#define VK_CONTROL        0x11
#define VK_MENU           0x12

declare short GetKeyState in Win32API integer nVirtKey
if GetKeyState(VK_CONTROL)<0
 * Ctrl foi teclado
endif
A forma de implementar tem que ser totalmente ligado a seu aplicativo.. Como não conheço o seu aplicativo o mais distante que pude ir foi até aqui..

Feliz Natal

Claudio
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform