Advertisement
5_2007-2008 Miscellaneous #174228

Disable the effect of Ctrl+Alt+Del and Alt+Tab

Disables the effect of Ctrl+Alt+Del and Alt-Tab. It can be used for security programs or just so the user cant exit your program or restart the computer from the keyboard.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
Sub Enable_TaskView()
 Dim eTask As Integer
 Dim junk As Boolean
 
 eTask = SystemParametersInfo(SPI_SCREENSAVERRUNNING, False, junk, 0)
End Sub
Sub Disable_TaskView()
 Dim dTask As Integer
 Dim junk As Boolean
 
 dTask = SystemParametersInfo(SPI_SCREENSAVERRUNNING, True, junk, 0)
End Sub
Original Comments (3)
Recovered from Wayback Machine