Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disable Ctrl+Alt+Del
Message
 
To
31/03/2000 04:41:57
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00353207
Message ID:
00353407
Views:
15
Hi Clarissa,

>Can we disable the Ctrl+Alt+Del while users are working with the VFP application? I want to disable Ctrl+alt+Del when they run my application and enable Ctrl+Alt+Del after they exit my application.

The following should work in Windows 9x, but not in Windows NT:

Declare Integer SystemParametersInfo in Win32API Integer, Integer, Integer, Integer
? SystemParametersInfo(97,1,0,0) && deactivate
? SystemParametersInfo(97,0,0,0) && activate

It disables all system key combinations, that is CTRL+ALT+DEL, ALT+TAB, CTRL+ESC, etc. by pretending that the screen saver is currently running. You can find detailed information in KB article:

HOWTO: Block CTRL+ALT+DEL and ALT+TAB in Windows 95
ID: Q161133

In any case, PLEASE think about what Jim has said.

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform