Page 1 of 1
help to disable taskmanagerof windows
Posted: Thu Apr 05, 2007 7:27 pm
by Silvio
How I can make to block the pssibility to enable/disable taskmanager of windows if I press ctrl+alt+del ?
How I can disable also the Ctrl+c press keys ?
Posted: Thu Apr 05, 2007 8:15 pm
by Silvio
I resolve it
Posted: Thu Apr 05, 2007 9:48 pm
by karinha
Code: Select all
/*
// Antonio Carlos Pantaglione
// Toninho@fwi.com.br
// Ago/2001
#include "fivewin.ch"
procedure main()
CtrlAltDel( .f. )
MsgAlert( "CTRL-ALT-DEL DESLIGADO" + CRLF + "Please, press CTRL + ALT + DEL", "Desligado" )
CtrlAltDel( .t. )
MsgAlert( "CTRL-ALT-DEL LIGADO" + CRLF + "Please, press CTRL + ALT + DEL", "Ligado" )
return
*/
// Antonio Carlos Pantaglione
// Toninho@fwi.com.br
// Ago/2001
/*
#include "fivewin.ch"
#include "dll.ch"
//----------------------------------------------------------------------------//
Procedure CtrlAltDel( lState )
if !lState
SysParInfo( 97, 1, 0, 0 )
else
SysParInfo( 97, 0, 0, 0 )
endif
return
//----------------------------------------------------------------------------//
dll32 static function SysParInfo( uAction AS LONG, uParam AS LONG, vParam AS LONG, uWinIni AS LONG ) ;
AS LONG PASCAL FROM "SystemParametersInfoA" LIB "User32.dll"
//----------------------------------------------------------------------------//
*/
Posted: Fri Apr 06, 2007 5:53 am
by Andrés González
Silvio.
How you solve it? because the source from Karinha don't work in a WINXP
Thanks