Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desabilitar o ctrl+alt+del
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00861990
Message ID:
00862019
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform